Package org.spongepowered.api.scheduler
Interface TaskFuture<V>
- Type Parameters:
V- The result type
- All Superinterfaces:
Future<V>
- All Known Subinterfaces:
ScheduledTaskFuture<V>
Represents a
Future of a ScheduledTask.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Method Summary
Modifier and TypeMethodDescriptiontask()Retrieves theSchedulerScheduledTaskinstance that is responsible for the execution of this future.Methods inherited from interface java.util.concurrent.Future
cancel, exceptionNow, get, get, isCancelled, isDone, resultNow, state
-
Method Details
-
task
ScheduledTask task()Retrieves theSchedulerScheduledTaskinstance that is responsible for the execution of this future.- Returns:
- The backing scheduled task
-