@Singleton public class BukkitTaskSystem extends TaskSystem
runnableFactory
Constructor and Description |
---|
BukkitTaskSystem(Plan plugin,
PlanConfig config,
ShutdownHook shutdownHook,
com.djrapitops.plugin.task.RunnableFactory runnableFactory,
ServerTPSCounter<org.bukkit.World> tpsCounter,
BukkitPingCounter pingCounter,
ExtensionServerMethodCallerTask extensionServerMethodCallerTask,
LogsFolderCleanTask logsFolderCleanTask,
ConfigStoreTask configStoreTask,
DBCleanTask dbCleanTask,
JSONCache.CleanTask jsonCacheCleanTask,
SystemUsageBuffer.RamAndCpuTask ramAndCpuTask,
SystemUsageBuffer.DiskTask diskTask) |
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, ServerTPSCounter<org.bukkit.World> tpsCounter, BukkitPingCounter pingCounter, ExtensionServerMethodCallerTask extensionServerMethodCallerTask, LogsFolderCleanTask logsFolderCleanTask, ConfigStoreTask configStoreTask, DBCleanTask dbCleanTask, JSONCache.CleanTask jsonCacheCleanTask, SystemUsageBuffer.RamAndCpuTask ramAndCpuTask, SystemUsageBuffer.DiskTask diskTask)
public void enable()
SubSystem
public void disable()
SubSystem
disable
in interface SubSystem
disable
in class TaskSystem