Interface NukkitTaskModule
@Module
public interface NukkitTaskModule
-
Method Summary
Modifier and TypeMethodDescriptionbindActiveCookieStoreExpiryTask
(ActiveCookieExpiryCleanupTask activeCookieExpiryCleanupTask) bindAddressAllowListUpdateTask
(AddressAllowList addressAllowList) bindConfigStoreTask
(ConfigStoreTask configStoreTask) bindDBCleanTask
(DBCleanTask cleanTask) bindDiskTask
(SystemUsageBuffer.DiskTask diskTask) bindExtensionServerDataUpdater
(ExtensionServerDataUpdater extensionServerDataUpdater) bindInstalledPluginGatheringTask
(InstalledPluginGatheringTask installedPluginGatheringTask) bindLogCleanTask
(LogsFolderCleanTask logsFolderCleanTask) bindOldDependencyCacheDeletion
(OldDependencyCacheDeletionTask deletionTask) bindPingCounter
(NukkitPingCounter pingCounter) bindRamAndCpuTask
(SystemUsageBuffer.RamAndCpuTask ramAndCpuTask) bindResourceWriteTask
(ResourceWriteTask resourceWriteTask) bindShutdownDataPreservation
(ShutdownDataPreservation dataPreservation) bindTPSCounter
(ServerTPSCounter<cn.nukkit.level.Level> tpsCounter)
-
Method Details
-
bindTPSCounter
-
bindPingCounter
-
bindExtensionServerDataUpdater
@Binds @IntoSet TaskSystem.Task bindExtensionServerDataUpdater(ExtensionServerDataUpdater extensionServerDataUpdater) -
bindLogCleanTask
-
bindConfigStoreTask
-
bindDBCleanTask
-
bindRamAndCpuTask
-
bindDiskTask
-
bindShutdownHookRegistration
-
bindJSONFileStorageCleanTask
-
bindShutdownDataPreservation
@Binds @IntoSet TaskSystem.Task bindShutdownDataPreservation(ShutdownDataPreservation dataPreservation) -
bindOldDependencyCacheDeletion
@Binds @IntoSet TaskSystem.Task bindOldDependencyCacheDeletion(OldDependencyCacheDeletionTask deletionTask) -
bindResourceWriteTask
-
bindActiveCookieStoreExpiryTask
@Binds @IntoSet TaskSystem.Task bindActiveCookieStoreExpiryTask(ActiveCookieExpiryCleanupTask activeCookieExpiryCleanupTask) -
bindAddressAllowListUpdateTask
-
bindInstalledPluginGatheringTask
@Binds @IntoSet TaskSystem.Task bindInstalledPluginGatheringTask(InstalledPluginGatheringTask installedPluginGatheringTask)
-