Creates an instance of the process using the recipe.
Creates an instance of the process using the recipe.
A unique process id.
Asynchronously creates an instance of the process using the recipe.
Asynchronously creates an instance of the process using the recipe.
A unique process id.
A future of the initial process state.
Synchronously returns all events that occurred for a process.
Returns a Source of baker events for a process.
Returns a Source of baker events for a process.
The process identifier.
The source of events.
Get all state that is or was available in the Petri Net marking.
Get all state that is or was available in the Petri Net marking.
The process id of the active process for which the accumulated state needs to be retrieved.
Accumulated state.
Returns the process state.
Returns the process state.
Throws a NoSuchProcessException when the process with the given identifier does not exist.
The process identifier.
The process state.
Get all state that is or was available in the Petri Net marking.
Get all state that is or was available in the Petri Net marking.
The process id of the active process for which the accumulated state needs to be retrieved.
Accumulated state.
Notifies Baker that an event has happened and waits until all the actions which depend on this event are executed.
Notifies Baker that an event has happened and waits until all the actions which depend on this event are executed.
The process id
The event instance
Fires an event to baker for a process.
Fires an event to baker for a process. This is fire and forget in the sense that if nothing is done with the response you have NO guarantee that the event is received by baker.
Attempts to gracefully shutdown the baker system.
The Baker knows: - A recipe - The ingredientImpls (what concrete implementation for what interface): Map[Interface, Implementation] - A list of events The Baker can bake a recipe, create a process and respond to events.