Class TaskInvocation

java.lang.Object
org.apache.pekko.dispatch.TaskInvocation
All Implemented Interfaces:
Serializable, Runnable, Batchable, scala.Equals, scala.Product

public final class TaskInvocation extends Object implements Batchable, scala.Product, Serializable
See Also:
  • 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,scala.Function0<scala.runtime.BoxedUnit>>> unapply(TaskInvocation x$0)
    • eventStream

      public EventStream eventStream()
    • runnable

      public 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 Runnable
    • copy

      public TaskInvocation copy(EventStream eventStream, Runnable runnable, scala.Function0<scala.runtime.BoxedUnit> cleanup)
    • copy$default$1

      public EventStream copy$default$1()
    • copy$default$2

      public Runnable copy$default$2()
    • copy$default$3

      public scala.Function0<scala.runtime.BoxedUnit> copy$default$3()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object