akka.dispatch
Class TaskInvocation
java.lang.Object
akka.dispatch.TaskInvocation
- All Implemented Interfaces:
- Batchable, java.io.Serializable, java.lang.Runnable, scala.Equals, scala.Product
public final class TaskInvocation
- extends java.lang.Object
- implements Batchable, scala.Product, scala.Serializable
- See Also:
- Serialized Form
Constructor Summary |
TaskInvocation(EventStream eventStream,
java.lang.Runnable runnable,
scala.Function0<scala.runtime.BoxedUnit> cleanup)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
TaskInvocation
public TaskInvocation(EventStream eventStream,
java.lang.Runnable runnable,
scala.Function0<scala.runtime.BoxedUnit> cleanup)
eventStream
public EventStream eventStream()
runnable
public java.lang.Runnable runnable()
cleanup
public scala.Function0<scala.runtime.BoxedUnit> cleanup()
isBatchable
public final boolean isBatchable()
- Specified by:
isBatchable
in interface Batchable
run
public void run()
- Specified by:
run
in interface java.lang.Runnable