Package org.apache.pekko.actor
Interface SchedulerTask
-
- All Superinterfaces:
java.lang.Runnable
public interface SchedulerTask extends java.lang.Runnable
A 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 void
cancelled()
Called forSchedulerTask
s that are successfully canceled viaCancellable.cancel()
.
-
-
-
Method Detail
-
cancelled
void cancelled()
Called forSchedulerTask
s that are successfully canceled viaCancellable.cancel()
. Overriding this method allows to for example run some cleanup.
-
-