Package akka.actor
Interface Scheduler.TaskRunOnClose
-
- All Superinterfaces:
java.lang.Runnable
- Enclosing interface:
- Scheduler
public static interface Scheduler.TaskRunOnClose extends java.lang.Runnable
If aTaskRunOnClose
is used inscheduleOnce
it will be run when theScheduler
is closed (ActorSystem
shutdown). This is needed for the internal shutdown of dispatchers in Akka and is not intended to be used by end user applications, but it's public because a custom implementation ofScheduler
must also implement this.