|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.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.Runnablepublic boolean cancel()
CancellableJava & Scala API
cancel in interface Cancellablepublic boolean isCancelled()
CancellableJava & Scala API
isCancelled in interface Cancellable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||