Package org.apache.pekko.dispatch
Class TaskInvocation
java.lang.Object
org.apache.pekko.dispatch.TaskInvocation
- All Implemented Interfaces:
Serializable,Runnable,Batchable,scala.Equals,scala.Product
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTaskInvocation(EventStream eventStream, Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup) -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskInvocationapply(EventStream eventStream, Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup) booleanscala.Function0<scala.runtime.BoxedUnit>cleanup()copy(EventStream eventStream, Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup) scala.Function0<scala.runtime.BoxedUnit>booleaninthashCode()final booleanintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>voidrun()runnable()toString()static scala.Option<scala.Tuple3<EventStream,Runnable, scala.Function0<scala.runtime.BoxedUnit>>> unapply(TaskInvocation x$0) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
TaskInvocation
public TaskInvocation(EventStream eventStream, Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
-
-
Method Details
-
apply
public static TaskInvocation apply(EventStream eventStream, Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup) -
unapply
public static scala.Option<scala.Tuple3<EventStream,Runnable, unapplyscala.Function0<scala.runtime.BoxedUnit>>> (TaskInvocation x$0) -
eventStream
-
runnable
-
cleanup
public scala.Function0<scala.runtime.BoxedUnit> cleanup() -
isBatchable
public final boolean isBatchable()- Specified by:
isBatchablein interfaceBatchable
-
run
public void run() -
copy
public TaskInvocation copy(EventStream eventStream, Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup) -
copy$default$1
-
copy$default$2
-
copy$default$3
public scala.Function0<scala.runtime.BoxedUnit> copy$default$3() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-