Package org.apache.pekko.actor
Interface SchedulerTask
-
- All Superinterfaces:
java.lang.Runnable
public interface SchedulerTask extends java.lang.RunnableA Task that will be notified when it is cancelled.- Since:
- 1.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelled()Called forSchedulerTasks that are successfully canceled viaCancellable.cancel().
-
-
-
Method Detail
-
cancelled
void cancelled()
Called forSchedulerTasks that are successfully canceled viaCancellable.cancel(). Overriding this method allows to for example run some cleanup.
-
-