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
,scala.Serializable
public final class TaskInvocation extends java.lang.Object implements Batchable, scala.Product, scala.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 TaskInvocation
apply(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
boolean
canEqual(java.lang.Object x$1)
scala.Function0<scala.runtime.BoxedUnit>
cleanup()
TaskInvocation
copy(EventStream eventStream, java.lang.Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
EventStream
copy$default$1()
java.lang.Runnable
copy$default$2()
scala.Function0<scala.runtime.BoxedUnit>
copy$default$3()
boolean
equals(java.lang.Object x$1)
EventStream
eventStream()
int
hashCode()
boolean
isBatchable()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
void
run()
java.lang.Runnable
runnable()
java.lang.String
toString()
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:
isBatchable
in interfaceBatchable
-
run
public void run()
- Specified by:
run
in 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:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-