Class/Object

io.kagera.akka.actor

PetriNetInstance

Related Docs: object PetriNetInstance | package actor

Permalink

class PetriNetInstance[S] extends PersistentActor with ActorLogging with PetriNetInstanceRecovery[S]

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

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

Instance Constructors

  1. new PetriNetInstance(topology: ExecutablePetriNet[S], executor: TransitionExecutor[S])

    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
    Eventsourced
  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. def executeAllEnabledTransitions(instance: Instance[S]): Unit

    Permalink
  19. def executeJob[E](job: Job[S, E], originalSender: ActorRef): Future[TransitionEvent]

    Permalink
  20. def finalize(): Unit

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

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

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

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

    Permalink
    Definition Classes
    Any
  25. def journalPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  26. def lastSequenceNr: Long

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

    Permalink
    Definition Classes
    Snapshotter
  28. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  29. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Eventsourced
  34. def onRecoveryCompleted(instance: Instance[S]): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    Eventsourced
  40. def persistEvent[T, E <: Event](instance: Instance[S], e: E)(fn: (Instance[S], E) ⇒ T): Unit

    Permalink
    Definition Classes
    PetriNetInstanceRecovery
  41. def persistenceId: String

    Permalink
    Definition Classes
    PetriNetInstance → PersistenceIdentity
  42. def postRestart(reason: Throwable): Unit

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

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

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

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

    Permalink
  47. def receive: Receive

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

    Permalink
    Definition Classes
    PetriNetInstance → Eventsourced
  49. def receiveRecover: Receive

    Permalink
    Definition Classes
    PetriNetInstanceRecovery
  50. def recovery: Recovery

    Permalink
    Definition Classes
    PersistenceRecovery
  51. def recoveryFinished: Boolean

    Permalink
    Definition Classes
    Eventsourced
  52. def recoveryRunning: Boolean

    Permalink
    Definition Classes
    Eventsourced
  53. def running(instance: Instance[S]): Receive

    Permalink
  54. implicit val s: Strategy

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

    Permalink
    Definition Classes
    Snapshotter
  56. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  58. val serializer: Serialization

    Permalink
    Definition Classes
    PetriNetInstanceRecovery
  59. def snapshotPluginId: String

    Permalink
    Definition Classes
    PersistenceIdentity
  60. def snapshotSequenceNr: Long

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

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

    Permalink
    Definition Classes
    StashSupport
  63. def supervisorStrategy: SupervisorStrategy

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

    Permalink
    Definition Classes
    AnyRef
  65. implicit val system: ActorSystem

    Permalink
    Definition Classes
    PetriNetInstanceRecovery
  66. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  67. val topology: ExecutablePetriNet[S]

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

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

    Permalink
  70. def unstashAll(): Unit

    Permalink
    Definition Classes
    Eventsourced → StashSupport
  71. def updateInstance(i: Instance[S])(e: Event): Instance[S]

    Permalink
    Definition Classes
    PetriNetInstanceRecovery
  72. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def persist[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4) use persistAll instead

  2. def persistAsync[A](events: Seq[A])(handler: (A) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Eventsourced
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4) use persistAllAsync instead

Inherited from PetriNetInstanceRecovery[S]

Inherited from ActorLogging

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