Package org.apache.pekko.actor
Interface SchedulerTask
- All Superinterfaces:
Runnable
A Task that will be notified when it is cancelled.
- Since:
- 1.2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled forSchedulerTasks that are successfully canceled viaCancellable.cancel().
-
Method Details
-
cancelled
void cancelled()Called forSchedulerTasks that are successfully canceled viaCancellable.cancel(). Overriding this method allows to for example run some cleanup.
-