Class/Object

com.ing.baker.runtime.actor.processinstance

ProcessInstance

Related Docs: object ProcessInstance | package processinstance

Permalink

class ProcessInstance[P[_], T[_, _], S, E] extends ProcessInstanceRecovery[P, T, S, E]

This actor is responsible for maintaining the state of a single petri net instance.

Linear Supertypes
ProcessInstanceRecovery[P, T, S, E], PersistentActor, Eventsourced, PersistenceRecovery, PersistenceIdentity, PersistenceStash, StashFactory, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Snapshotter, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessInstance
  2. ProcessInstanceRecovery
  3. PersistentActor
  4. Eventsourced
  5. PersistenceRecovery
  6. PersistenceIdentity
  7. PersistenceStash
  8. StashFactory
  9. Stash
  10. RequiresMessageQueue
  11. UnrestrictedStash
  12. StashSupport
  13. Snapshotter
  14. Actor
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProcessInstance(processType: String, processTopology: PetriNet[P[_], T[_, _]], settings: Settings, runtime: PetriNetRuntime[P, T, S, E], placeIdentifier: Identifiable[P[_]], transitionIdentifier: Identifiable[T[_, _]])

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  8. def aroundReceive(receive: Receive, message: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Eventsourced → Actor
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  12. def deferAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PersistentActor
  13. def deleteMessages(toSequenceNr: Long): Unit

    Permalink
    Definition Classes
    Eventsourced
  14. def deleteSnapshot(sequenceNr: Long): Unit

    Permalink
    Definition Classes
    Snapshotter
  15. def deleteSnapshots(criteria: SnapshotSelectionCriteria): Unit

    Permalink
    Definition Classes
    Snapshotter
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. val eventSource: (Instance[P, T, S]) ⇒ (Event) ⇒ Instance[P, T, S]

    Permalink
    Definition Classes
    ProcessInstanceRecovery
  19. def executeJob[E](job: Job[P, T, S, E], originalSender: ActorRef): Unit

    Permalink
  20. val executor: (Job[P, T, S, _]) ⇒ Task[TransitionEvent[T]]

    Permalink
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def internalStashOverflowStrategy: StashOverflowStrategy

    Permalink
    Definition Classes
    PersistenceStash
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  27. def lastSequenceNr: Long

    Permalink
    Definition Classes
    Eventsourced
  28. def loadSnapshot(persistenceId: String, criteria: SnapshotSelectionCriteria, toSequenceNr: Long): Unit

    Permalink
    Definition Classes
    Snapshotter
  29. val log: DiagnosticLoggingAdapter

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def onPersistFailure(cause: Throwable, event: Any, seqNr: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  34. def onPersistRejected(cause: Throwable, event: Any, seqNr: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  35. def onRecoveryCompleted(instance: Instance[P, T, S]): Unit

    Permalink
  36. def onRecoveryFailure(cause: Throwable, event: Option[Any]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  37. def persist[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PersistentActor
  38. def persistAll[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PersistentActor
  39. def persistAllAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PersistentActor
  40. def persistAsync[A](event: A)(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    PersistentActor
  41. def persistEvent[O, E <: Event](instance: Instance[P, T, S], e: E)(fn: (E) ⇒ O): Unit

    Permalink
    Definition Classes
    ProcessInstanceRecovery
  42. def persistenceId: String

    Permalink
    Definition Classes
    ProcessInstance → PersistenceIdentity
  43. implicit val placeIdentifier: Identifiable[P[_]]

    Permalink
  44. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  45. def postStop(): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  46. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  47. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  48. val processId: String

    Permalink
  49. def receive: Receive

    Permalink
    Definition Classes
    PersistentActor → Actor
  50. def receiveCommand: Receive

    Permalink
    Definition Classes
    ProcessInstance → Eventsourced
  51. def receiveRecover: Receive

    Permalink
    Definition Classes
    ProcessInstanceRecovery → Eventsourced
  52. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  53. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  54. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  55. def running(instance: Instance[P, T, S], scheduledRetries: Map[Long, Cancellable]): Receive

    Permalink
  56. def saveSnapshot(snapshot: Any): Unit

    Permalink
    Definition Classes
    Snapshotter
  57. def scheduleFailedJobsForRetry(instance: Instance[P, T, S]): Map[Long, Cancellable]

    Permalink
  58. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  59. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  60. val serializer: ProtobufSerialization[P, T, S]

    Permalink
    Definition Classes
    ProcessInstanceRecovery
  61. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  62. def snapshotSequenceNr: Long

    Permalink
    Definition Classes
    Eventsourced → Snapshotter
  63. def snapshotterId: String

    Permalink
    Definition Classes
    Eventsourced → Snapshotter
  64. def stash(): Unit

    Permalink
    Definition Classes
    Eventsourced → StashSupport
  65. def step(instance: Instance[P, T, S]): (Instance[P, T, S], Set[Job[P, T, S, _]])

    Permalink
  66. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  67. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  68. implicit val system: ActorSystem

    Permalink
    Definition Classes
    ProcessInstanceRecovery
  69. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  70. val topology: PetriNet[P[_], T[_, _]]

    Permalink
    Definition Classes
    ProcessInstanceRecovery
  71. implicit val transitionIdentifier: Identifiable[T[_, _]]

    Permalink
  72. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Eventsourced → Actor
  73. def uninitialized: Receive

    Permalink
  74. def unstashAll(): Unit

    Permalink
    Definition Classes
    Eventsourced → StashSupport
  75. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  77. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. def waitForDeleteConfirmation(instance: Instance[P, T, S]): Receive

    Permalink

Inherited from ProcessInstanceRecovery[P, T, S, E]

Inherited from PersistentActor

Inherited from Eventsourced

Inherited from PersistenceRecovery

Inherited from PersistenceIdentity

Inherited from PersistenceStash

Inherited from StashFactory

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from Snapshotter

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped