Package akka.dispatch

Class 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 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)
      • 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
      • copy

        public TaskInvocation copy​(EventStream eventStream,
                                   java.lang.Runnable runnable,
                                   scala.Function0<scala.runtime.BoxedUnit> cleanup)
      • 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 interface scala.Product
      • productArity

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

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

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

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

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

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

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