Contents
Class TaskRegistry
java.lang.Object
com.hypixel.hytale.registry.Registry<TaskRegistration>
com.hypixel.hytale.server.core.task.TaskRegistry
- Since:
- 12/4/18
- Version:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Registry
Registry.RegistrationWrapFunction<T> -
Constructor Summary
ConstructorsConstructorDescriptionTaskRegistry(List<BooleanConsumer> registrations, BooleanSupplier precondition, String preconditionMessage) -
Method Summary
Modifier and TypeMethodDescriptionregisterTask(CompletableFuture<Void> task) registerTask(ScheduledFuture<Void> task) Methods inherited from class Registry
enable, getRegistrations, isEnabled, register, shutdown, shutdownAndCleanup, toString
-
Constructor Details
-
TaskRegistry
public TaskRegistry(@Nonnull List<BooleanConsumer> registrations, BooleanSupplier precondition, String preconditionMessage)
-
-
Method Details
-
registerTask
-
registerTask
-