akka.dispatch
Class TaskInvocation

java.lang.Object
  extended by 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)
           
 
Method Summary
 scala.Function0<scala.runtime.BoxedUnit> cleanup()
           
 EventStream eventStream()
           
 boolean isBatchable()
           
 void run()
           
 java.lang.Runnable runnable()
           
 
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
 

Constructor Detail

TaskInvocation

public TaskInvocation(EventStream eventStream,
                      java.lang.Runnable runnable,
                      scala.Function0<scala.runtime.BoxedUnit> cleanup)
Method Detail

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