Class SoulFireScheduler
java.lang.Object
com.soulfiremc.server.SoulFireScheduler
- All Implemented Interfaces:
Executor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidscheduleAtFixedRate(Runnable command, long delay, long period, TimeUnit unit) voidscheduleWithDynamicDelay(Runnable command, LongSupplier delay, TimeUnit unit) voidscheduleWithFixedDelay(Runnable command, long delay, long period, TimeUnit unit) voidshutdown()<T> CompletableFuture<T> supplyAsync(Supplier<T> command) <T> CompletableFuture<T> supplyAsync(Supplier<T> command, org.slf4j.event.Level errorLevel)
-
Constructor Details
-
SoulFireScheduler
-
-
Method Details
-
schedule
-
schedule
-
scheduleAtFixedRate
-
scheduleWithFixedDelay
-
scheduleWithDynamicDelay
-
drainQueue
public void drainQueue() -
shutdown
public void shutdown() -
runAsync
-
supplyAsync
-
runAsync
-
supplyAsync
-
execute
-