@Singleton public class SpongeTaskSystem extends TaskSystem
runnableFactory
Constructor and Description |
---|
SpongeTaskSystem(PlanSponge plugin,
PlanConfig config,
ShutdownHook shutdownHook,
com.djrapitops.plugin.task.RunnableFactory runnableFactory,
ServerTPSCounter<org.spongepowered.api.world.World> tpsCounter,
SpongePingCounter pingCounter,
ExtensionServerMethodCallerTask extensionServerMethodCallerTask,
LogsFolderCleanTask logsFolderCleanTask,
ConfigStoreTask configStoreTask,
DBCleanTask dbCleanTask,
JSONCache.CleanTask jsonCacheCleanTask) |
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, ServerTPSCounter<org.spongepowered.api.world.World> tpsCounter, SpongePingCounter pingCounter, ExtensionServerMethodCallerTask extensionServerMethodCallerTask, LogsFolderCleanTask logsFolderCleanTask, ConfigStoreTask configStoreTask, DBCleanTask dbCleanTask, JSONCache.CleanTask jsonCacheCleanTask)
public void enable()
SubSystem
public void disable()
SubSystem
disable
in interface SubSystem
disable
in class TaskSystem