Package 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, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskInvocation(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskInvocationapply(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)booleancanEqual(java.lang.Object x$1)scala.Function0<scala.runtime.BoxedUnit>cleanup()TaskInvocationcopy(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)EventStreamcopy$default$1()java.lang.Runnablecopy$default$2()scala.Function0<scala.runtime.BoxedUnit>copy$default$3()booleanequals(java.lang.Object x$1)EventStreameventStream()inthashCode()booleanisBatchable()intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()voidrun()java.lang.Runnablerunnable()java.lang.StringtoString()static scala.Option<scala.Tuple3<EventStream,java.lang.Runnable,scala.Function0<scala.runtime.BoxedUnit>>>unapply(TaskInvocation x$0)
-
-
-
Constructor Detail
-
TaskInvocation
public TaskInvocation(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
-
-
Method Detail
-
apply
public static TaskInvocation apply(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
-
unapply
public static scala.Option<scala.Tuple3<EventStream,java.lang.Runnable,scala.Function0<scala.runtime.BoxedUnit>>> unapply(TaskInvocation x$0)
-
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:
isBatchablein interfaceBatchable
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
copy
public TaskInvocation copy(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
-
copy$default$1
public EventStream copy$default$1()
-
copy$default$2
public java.lang.Runnable copy$default$2()
-
copy$default$3
public scala.Function0<scala.runtime.BoxedUnit> copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-