class Bundle[R] extends Orchestrator[Seq[R]]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Bundle
  2. Orchestrator
  3. AbstractOrchestrator
  4. IdImplicits
  5. ActorLogging
  6. AtLeastOnceDelivery
  7. AtLeastOnceDeliveryLike
  8. PersistentActor
  9. Eventsourced
  10. PersistenceRecovery
  11. PersistenceIdentity
  12. PersistenceStash
  13. StashFactory
  14. Stash
  15. RequiresMessageQueue
  16. UnrestrictedStash
  17. StashSupport
  18. Snapshotter
  19. Actor
  20. AnyRef
  21. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Bundle(taskBuilders: Iterable[TaskBuilder[R]], outerOrchestratorPersistenceId: String)

Type Members

  1. final type ID = DeliveryId

    The type of Id this orchestrator handles.

    The type of Id this orchestrator handles.

    Definition Classes
    OrchestratorAbstractOrchestrator
  2. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Bundle[R] to any2stringadd[Bundle[R]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Bundle[R], B)
    Implicit
    This member is added by an implicit conversion from Bundle[R] to ArrowAssoc[Bundle[R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final var _waitingTasks: HashMap[Int, Task[_]]

    We use a HashMap to ensure remove/insert operations are very fast O(eC).

    We use a HashMap to ensure remove/insert operations are very fast O(eC). The keys are the task indexes.

    Attributes
    protected[this]
    Definition Classes
    AbstractOrchestrator
  7. final def alwaysAvailableCommands: akka.actor.Actor.Receive
    Definition Classes
    AbstractOrchestrator
  8. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  9. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    AtLeastOnceDeliveryLike → Eventsourced → Actor
  10. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    AtLeastOnceDeliveryLike → Eventsourced → Actor
  11. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  12. def aroundReceive(receive: Receive, message: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    AtLeastOnceDeliveryLike → Eventsourced → Actor
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  15. final def computeCurrentBehavior(): Receive
    Definition Classes
    AbstractOrchestrator
  16. final def computeID(destination: ActorPath, deliveryId: DeliveryId): DeliveryId

    Computes ID from the deliveryId of akka-persistence.

    Computes ID from the deliveryId of akka-persistence.

    Definition Classes
    OrchestratorAbstractOrchestrator
  17. def confirmDelivery(deliveryId: Long): Boolean
    Definition Classes
    AtLeastOnceDeliveryLike
  18. implicit val context: ActorContext
    Definition Classes
    Actor
  19. def defer[A](event: A)(handler: (A) ⇒ Unit): Unit
    Definition Classes
    PersistentActor
  20. def deferAsync[A](event: A)(handler: (A) ⇒ Unit): Unit
    Definition Classes
    PersistentActor
  21. def deleteMessages(toSequenceNr: Long): Unit
    Definition Classes
    Eventsourced
  22. def deleteSnapshot(sequenceNr: Long): Unit
    Definition Classes
    Snapshotter
  23. def deleteSnapshots(criteria: SnapshotSelectionCriteria): Unit
    Definition Classes
    Snapshotter
  24. def deliver(destination: ActorSelection)(deliveryIdToMessage: (Long) ⇒ Any): Unit
    Definition Classes
    AtLeastOnceDelivery
  25. def deliver(destination: ActorPath)(deliveryIdToMessage: (Long) ⇒ Any): Unit
    Definition Classes
    AtLeastOnceDelivery
  26. final def deliveryIdOf(destination: ActorPath, id: ID): DeliveryId

    Converts ID to the deliveryId needed for the confirmDelivery method of akka-persistence.

    Converts ID to the deliveryId needed for the confirmDelivery method of akka-persistence.

    Definition Classes
    OrchestratorAbstractOrchestrator
  27. def ensuring(cond: (Bundle[R]) ⇒ Boolean, msg: ⇒ Any): Bundle[R]
    Implicit
    This member is added by an implicit conversion from Bundle[R] to Ensuring[Bundle[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: (Bundle[R]) ⇒ Boolean): Bundle[R]
    Implicit
    This member is added by an implicit conversion from Bundle[R] to Ensuring[Bundle[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean, msg: ⇒ Any): Bundle[R]
    Implicit
    This member is added by an implicit conversion from Bundle[R] to Ensuring[Bundle[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean): Bundle[R]
    Implicit
    This member is added by an implicit conversion from Bundle[R] to Ensuring[Bundle[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  33. def extraCommands: akka.actor.Actor.Receive

    Override this method to add extra commands that are always handled by this orchestrator (except when recovering).

    Override this method to add extra commands that are always handled by this orchestrator (except when recovering).

    Definition Classes
    AbstractOrchestrator
  34. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. final def finishedTasks: Int

    How many tasks of this orchestrator have successfully finished.

    How many tasks of this orchestrator have successfully finished. Aborted tasks do not count as a finished task.

    Definition Classes
    AbstractOrchestrator
  36. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Bundle[R] to StringFormat[Bundle[R]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  37. val fulltasks: Iterable[FullTask[R, HNil]]
  38. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def getDeliverySnapshot: AtLeastOnceDeliverySnapshot
    Definition Classes
    AtLeastOnceDeliveryLike
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def internalStashOverflowStrategy: StashOverflowStrategy
    Definition Classes
    PersistenceStash
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def journalPluginId: String
    Definition Classes
    PersistenceIdentity
  44. def lastSequenceNr: Long
    Definition Classes
    Eventsourced
  45. def loadSnapshot(persistenceId: String, criteria: SnapshotSelectionCriteria, toSequenceNr: Long): Unit
    Definition Classes
    Snapshotter
  46. def log: LoggingAdapter
    Definition Classes
    ActorLogging
  47. final def matchId(task: Task[_], id: Long): Boolean

    Ensures the received message was in fact destined to be received by task.

    Ensures the received message was in fact destined to be received by task.

    Definition Classes
    OrchestratorAbstractOrchestrator
  48. def maxUnconfirmedMessages: Int
    Definition Classes
    AtLeastOnceDeliveryLike
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. def numberOfUnconfirmed: Int
    Definition Classes
    AtLeastOnceDeliveryLike
  53. def onAbort(failure: Failure): Unit

    User overridable callback.

    User overridable callback. Its called when the orchestrator is aborted. By default an orchestrator aborts as soon as a task aborts. However this functionality can be changed by overriding onTaskAbort.

    By default logs that the orchestrator has aborted, sends a message to its parent explaining why the orchestrator aborted then stops it.

    You can use this to implement your termination strategy.

    Definition Classes
    AbstractOrchestrator
  54. def onFinish(): Unit

    User overridable callback.

    User overridable callback. Its called after every task finishes. If a task aborts then it will prevent this method from being invoked.

    By default logs that the Orchestrator has finished then stops it.

    You can use this to implement your termination strategy.

    If a orchestrator starts without tasks it will finish right away.

    Definition Classes
    BundleAbstractOrchestrator
  55. def onPersistFailure(cause: Throwable, event: Any, seqNr: Long): Unit
    Attributes
    protected
    Definition Classes
    Eventsourced
  56. def onPersistRejected(cause: Throwable, event: Any, seqNr: Long): Unit
    Attributes
    protected
    Definition Classes
    Eventsourced
  57. def onRecoveryFailure(cause: Throwable, event: Option[Any]): Unit
    Attributes
    protected
    Definition Classes
    Eventsourced
  58. def onStart(startId: Long): Unit

    User overridable callback.

    User overridable callback. Its called after the orchestrator starts but before any of the tasks start.

    By default logs that the Orchestrator has started.

    Definition Classes
    AbstractOrchestrator
  59. def onTaskAbort(task: FullTask[_, _], cause: Throwable): Unit

    User overridable callback.

    User overridable callback. Its called every time a task aborts.

    You can use this to implement very refined termination strategies.

    By default aborts the orchestrator via onAbort with a TaskAborted failure.

    Note: if you invoke become/unbecome inside this method, the contract that states "Waiting tasks or tasks which do not have this task as a dependency will remain untouched" will no longer be guaranteed. If you wish to still have this guarantee you can do

    context.become(computeCurrentBehavior() orElse yourBehavior)

    { @see onTaskStart} for a callback when a task starts. { @see onTaskFinish } for a callback when a task finishes.

    task

    the task that aborted.

    Definition Classes
    AbstractOrchestrator
  60. def onTaskFinish(task: FullTask[_, _]): Unit

    User overridable callback.

    User overridable callback. Its called every time a task finishes.

    You can use this to implement very refined termination strategies.

    By default just logs the task has finished.

    { @see onTaskStart} for a callback when a task starts. { @see onTaskAbort} for a callback when a task aborts.

    Definition Classes
    AbstractOrchestrator
  61. def onTaskStart(task: FullTask[_, _], innerTask: Task[_]): Unit

    User overridable callback.

    User overridable callback. Its called every time a task starts.

    By default just logs the task as started.

    { @see onTaskFinish} for a callback when a task finishes. { @see onTaskAbort} for a callback when a task aborts.

    Definition Classes
    AbstractOrchestrator
  62. implicit final val orchestrator: AbstractOrchestrator[_]

    This exists to make the creation of FullTasks easier.

    This exists to make the creation of FullTasks easier.

    Definition Classes
    AbstractOrchestrator
  63. def persist[A](event: A)(handler: (A) ⇒ Unit): Unit
    Definition Classes
    PersistentActor
  64. def persistAll[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit
    Definition Classes
    PersistentActor
  65. def persistAllAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit
    Definition Classes
    PersistentActor
  66. def persistAsync[A](event: A)(handler: (A) ⇒ Unit): Unit
    Definition Classes
    PersistentActor
  67. def persistenceId: String
    Definition Classes
    Bundle → PersistenceIdentity
  68. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  69. def postStop(): Unit
    Definition Classes
    UnrestrictedStash → Actor
  70. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    UnrestrictedStash → Actor
  71. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  72. def receive: Receive
    Definition Classes
    PersistentActor → Actor
  73. final def receiveCommand: akka.actor.Actor.Receive
    Definition Classes
    AbstractOrchestrator → Eventsourced
  74. def receiveRecover: akka.actor.Actor.Receive
    Definition Classes
    AbstractOrchestrator → Eventsourced
  75. def recovery: Recovery
    Definition Classes
    PersistenceRecovery
  76. final def recoveryAwarePersist(event: Any)(handler: ⇒ Unit): Unit
    Definition Classes
    AbstractOrchestrator
  77. def recoveryFinished: Boolean
    Definition Classes
    Eventsourced
  78. def recoveryRunning: Boolean
    Definition Classes
    Eventsourced
  79. def redeliverInterval: FiniteDuration
    Definition Classes
    AtLeastOnceDeliveryLike
  80. def redeliveryBurstLimit: Int
    Definition Classes
    AtLeastOnceDeliveryLike
  81. def saveSnapshot(snapshot: Any): Unit
    Definition Classes
    Snapshotter
  82. implicit final val self: ActorRef
    Definition Classes
    Actor
  83. final def sender(): ActorRef
    Definition Classes
    Actor
  84. def setDeliverySnapshot(snapshot: AtLeastOnceDeliverySnapshot): Unit
    Definition Classes
    AtLeastOnceDeliveryLike
  85. val settings: Settings
    Definition Classes
    AbstractOrchestrator
  86. def snapshotPluginId: String
    Definition Classes
    PersistenceIdentity
  87. def snapshotSequenceNr: Long
    Definition Classes
    Eventsourced → Snapshotter
  88. def snapshotterId: String
    Definition Classes
    Eventsourced → Snapshotter
  89. final def startId: Long
    Definition Classes
    AbstractOrchestrator
  90. def stash(): Unit
    Definition Classes
    Eventsourced → StashSupport
  91. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  92. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  93. final def tasks: Seq[FullTask[_, _]]
    Definition Classes
    AbstractOrchestrator
  94. implicit def toCorrelationId(l: Long): CorrelationId
    Definition Classes
    IdImplicits
  95. implicit def toDeliveryId(l: Long): DeliveryId
    Definition Classes
    IdImplicits
  96. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from Bundle[R] to CollectionsHaveToParArray[Bundle[R], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (Bundle[R]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  97. def toString(): String
    Definition Classes
    AnyRef → Any
  98. def unhandled(message: Any): Unit
    Definition Classes
    Eventsourced → Actor
  99. final def unstarted: akka.actor.Actor.Receive
    Definition Classes
    AbstractOrchestrator
  100. def unstashAll(): Unit
    Definition Classes
    Eventsourced → StashSupport
  101. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  104. final def waitingTasks: HashMap[Int, Task[_]]
    Definition Classes
    AbstractOrchestrator
  105. def warnAfterNumberOfUnconfirmedAttempts: Int
    Definition Classes
    AtLeastOnceDeliveryLike
  106. def withLogPrefix(message: ⇒ String): String
    Definition Classes
    AbstractOrchestrator
  107. def [B](y: B): (Bundle[R], B)
    Implicit
    This member is added by an implicit conversion from Bundle[R] to ArrowAssoc[Bundle[R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Orchestrator[Seq[R]]

Inherited from AbstractOrchestrator[Seq[R]]

Inherited from IdImplicits

Inherited from ActorLogging

Inherited from AtLeastOnceDelivery

Inherited from AtLeastOnceDeliveryLike

Inherited from PersistentActor

Inherited from Eventsourced

Inherited from PersistenceRecovery

Inherited from PersistenceIdentity

Inherited from PersistenceStash

Inherited from StashFactory

Inherited from Stash

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from Snapshotter

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion CollectionsHaveToParArray from Bundle[R] to CollectionsHaveToParArray[Bundle[R], T]

Inherited by implicit conversion any2stringadd from Bundle[R] to any2stringadd[Bundle[R]]

Inherited by implicit conversion StringFormat from Bundle[R] to StringFormat[Bundle[R]]

Inherited by implicit conversion Ensuring from Bundle[R] to Ensuring[Bundle[R]]

Inherited by implicit conversion ArrowAssoc from Bundle[R] to ArrowAssoc[Bundle[R]]

Ungrouped