|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.actor.LightArrayRevolverScheduler.TaskHolder
protected static class LightArrayRevolverScheduler.TaskHolder
INTERNAL API
Constructor Summary | |
---|---|
LightArrayRevolverScheduler.TaskHolder(java.lang.Runnable task,
int ticks,
scala.concurrent.ExecutionContext executionContext)
|
Method Summary | |
---|---|
boolean |
cancel()
Cancels this Cancellable and returns true if that was successful. |
boolean |
executeTask()
|
boolean |
isCancelled()
Returns true if and only if this Cancellable has been successfully cancelled |
void |
run()
|
java.lang.Runnable |
task()
|
int |
ticks()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LightArrayRevolverScheduler.TaskHolder(java.lang.Runnable task, int ticks, scala.concurrent.ExecutionContext executionContext)
Method Detail |
---|
public java.lang.Runnable task()
public int ticks()
public final boolean executeTask()
public void run()
run
in interface java.lang.Runnable
public boolean cancel()
Cancellable
Java & Scala API
cancel
in interface Cancellable
public boolean isCancelled()
Cancellable
Java & Scala API
isCancelled
in interface Cancellable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |