@Singleton public class SpongeTaskSystem extends ServerTaskSystem
config
runnableFactory, tpsCountTimer
Constructor and Description |
---|
SpongeTaskSystem(PlanSponge plugin,
PlanConfig config,
ShutdownHook shutdownHook,
com.djrapitops.plugin.task.RunnableFactory runnableFactory,
SpongeTPSCountTimer spongeTPSCountTimer,
BootAnalysisTask bootAnalysisTask,
PeriodicAnalysisTask periodicAnalysisTask,
PingCountTimerSponge 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 SpongeTaskSystem(PlanSponge plugin, PlanConfig config, ShutdownHook shutdownHook, com.djrapitops.plugin.task.RunnableFactory runnableFactory, SpongeTPSCountTimer spongeTPSCountTimer, BootAnalysisTask bootAnalysisTask, PeriodicAnalysisTask periodicAnalysisTask, PingCountTimerSponge 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