@Singleton public class BukkitTaskSystem extends ServerTaskSystem
config
runnableFactory, tpsCountTimer
Constructor and Description |
---|
BukkitTaskSystem(Plan plugin,
PlanConfig config,
ShutdownHook shutdownHook,
com.djrapitops.plugin.task.RunnableFactory runnableFactory,
PaperTPSCountTimer paperTPSCountTimer,
BukkitTPSCountTimer bukkitTPSCountTimer,
BootAnalysisTask bootAnalysisTask,
PeriodicAnalysisTask periodicAnalysisTask,
PingCountTimerBukkit pingCountTimer,
LogsFolderCleanTask logsFolderCleanTask,
PlayersPageRefreshTask playersPageRefreshTask,
ConfigStoreTask configStoreTask,
DBCleanTask dbCleanTask,
ExtensionServerMethodCallerTask extensionServerMethodCallerTask) |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Performs disable actions for the subsystem
|
void |
enable()
Performs enable actions for the subsystem.
|
registerTask, registerTask
@Inject public BukkitTaskSystem(Plan plugin, PlanConfig config, ShutdownHook shutdownHook, com.djrapitops.plugin.task.RunnableFactory runnableFactory, PaperTPSCountTimer paperTPSCountTimer, BukkitTPSCountTimer bukkitTPSCountTimer, BootAnalysisTask bootAnalysisTask, PeriodicAnalysisTask periodicAnalysisTask, PingCountTimerBukkit pingCountTimer, LogsFolderCleanTask logsFolderCleanTask, PlayersPageRefreshTask playersPageRefreshTask, ConfigStoreTask configStoreTask, DBCleanTask dbCleanTask, ExtensionServerMethodCallerTask extensionServerMethodCallerTask)
public void enable()
SubSystem
enable
in interface SubSystem
enable
in class ServerTaskSystem
public void disable()
SubSystem
disable
in interface SubSystem
disable
in class TaskSystem