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) 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) bindWebAssetVersionCheckTask
(WebAssetVersionCheckTask webAssetVersionCheckTask)
-
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
-
bindWebAssetVersionCheckTask
@Binds @IntoSet TaskSystem.Task bindWebAssetVersionCheckTask(WebAssetVersionCheckTask webAssetVersionCheckTask) -
bindActiveCookieStoreExpiryTask
@Binds @IntoSet TaskSystem.Task bindActiveCookieStoreExpiryTask(ActiveCookieExpiryCleanupTask activeCookieExpiryCleanupTask) -
bindAddressAllowListUpdateTask
-