Package akka.actor
Class LightArrayRevolverScheduler.TaskHolder
- java.lang.Object
-
- akka.actor.LightArrayRevolverScheduler.TaskHolder
-
- All Implemented Interfaces:
Cancellable,LightArrayRevolverScheduler.TimerTask,java.lang.Runnable
- Enclosing class:
- LightArrayRevolverScheduler
protected static class LightArrayRevolverScheduler.TaskHolder extends java.lang.Object implements LightArrayRevolverScheduler.TimerTask
-
-
Constructor Summary
Constructors Constructor Description TaskHolder(java.lang.Runnable task, int ticks, scala.concurrent.ExecutionContext executionContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel()booleanexecuteTask()booleanisCancelled()Returns true if and only if this Cancellable has been successfully cancelledvoidrun()java.lang.Runnabletask()voidtask_$eq(java.lang.Runnable x$1)intticks()voidticks_$eq(int x$1)
-
-
-
Method Detail
-
cancel
public boolean cancel()
- Specified by:
cancelin interfaceCancellable
-
executeTask
public final boolean executeTask()
-
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- Returns:
- (undocumented)
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
task
public java.lang.Runnable task()
-
task_$eq
public void task_$eq(java.lang.Runnable x$1)
-
ticks
public int ticks()
-
ticks_$eq
public void ticks_$eq(int x$1)
-
-