Package org.apache.pekko.actor
Class LightArrayRevolverScheduler.TaskHolder
java.lang.Object
org.apache.pekko.actor.LightArrayRevolverScheduler.TaskHolder
- All Implemented Interfaces:
Runnable,Cancellable,LightArrayRevolverScheduler.TimerTask
- Enclosing class:
- LightArrayRevolverScheduler
protected static class LightArrayRevolverScheduler.TaskHolder
extends Object
implements LightArrayRevolverScheduler.TimerTask
INTERNAL API
-
Constructor Summary
ConstructorsConstructorDescriptionTaskHolder(Runnable task, int ticks, scala.concurrent.ExecutionContext executionContext) -
Method Summary
-
Constructor Details
-
TaskHolder
-
-
Method Details
-
cancel
public boolean cancel()Description copied from interface:CancellableCancels this Cancellable and returns true if that was successful. If this cancellable was (concurrently) cancelled already, then this method will return false although isCancelled will return true.Java & Scala API
- Specified by:
cancelin interfaceCancellable
-
isCancelled
public boolean isCancelled()Description copied from interface:CancellableReturns true if and only if this Cancellable has been successfully cancelledJava & Scala API
- Specified by:
isCancelledin interfaceCancellable
-
run
public void run() -
task
-
task_$eq
-
ticks
public int ticks() -
ticks_$eq
public void ticks_$eq(int x$1)
-