Interface PluginTask<V>
- Type Parameters:
V- the type of the value returned by this task.
- All Superinterfaces:
Cancellable,Future<V>,PluginAware
A
PluginTask is a future used by a PluginScheduler.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA helper object for building and scheduling aPluginTask. -
Method Summary
Methods inherited from interface com.xpdustry.distributor.api.plugin.PluginAware
getPlugin
-
Method Details
-
isAsync
boolean isAsync()Returns whether this future is executed asynchronously. -
cancel
default void cancel()Description copied from interface:CancellableCancels the task bound to thisCancellable.- Specified by:
cancelin interfaceCancellable
-