Class

com.ing.baker.runtime.java_api

JBaker

Related Doc: package java_api

Permalink

class JBaker extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JBaker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JBaker(compiledRecipe: CompiledRecipe, implementations: List[AnyRef])

    Permalink
  2. new JBaker(compiledRecipe: CompiledRecipe, implementations: List[AnyRef], actorSystem: ActorSystem)

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bake(processId: UUID): Unit

    Permalink

    This bakes (creates) a new process instance of the recipe.

    This bakes (creates) a new process instance of the recipe.

    processId

    The process identifier

  6. def bake(processId: String): Unit

    Permalink

    This bakes (creates) a new process instance of the recipe.

    This bakes (creates) a new process instance of the recipe.

    processId

    The process identifier

  7. val baker: Baker

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val defaultHandleEventAsyncTimeout: FiniteDuration

    Permalink
  10. val defaultTimeout: Int

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getAllProcessMetadata: Set[ProcessMetadata]

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getCompiledRecipe: CompiledRecipe

    Permalink

    Returns the compiled recipe.

    Returns the compiled recipe.

    returns

    The compiled recipe

  17. def getEvents(processId: UUID): EventList

    Permalink

    Returns all events that have occurred for a given process.

    Returns all events that have occurred for a given process.

    Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.

    processId

    The process identifier

  18. def getEvents(processId: String): EventList

    Permalink

    Returns all events that have occurred for a given process.

    Returns all events that have occurred for a given process.

    Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.

    processId

    The process identifier

  19. def getEvents(processId: UUID, waitTimeoutMillis: Long): EventList

    Permalink

    Returns all events that have occurred for a given process.

    Returns all events that have occurred for a given process.

    Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.

    processId

    The process identifier

    waitTimeoutMillis

    The maximum wait time

  20. def getEvents(processId: String, waitTimeoutMillis: Long): EventList

    Permalink

    Returns all events that have occurred for a given process.

    Returns all events that have occurred for a given process.

    Note that this list is eventually consistent. This means that it might take some time before an event that occurred in the process is appended to the list.

    processId

    The process identifier

    waitTimeoutMillis

    The maximum wait time

  21. def getIngredients(processId: UUID): Map[String, AnyRef]

    Permalink

    Returns all the ingredients that are accumulated for a given process.

    Returns all the ingredients that are accumulated for a given process.

    processId

    The process identifier

    Annotations
    @throws( ... ) @throws( ... )
  22. def getIngredients(processId: String): Map[String, AnyRef]

    Permalink

    Returns all the ingredients that are accumulated for a given process.

    Returns all the ingredients that are accumulated for a given process.

    processId

    The process identifier

    Annotations
    @throws( ... ) @throws( ... )
  23. def getIngredients(processId: UUID, waitTimeoutMillis: Long): Map[String, AnyRef]

    Permalink

    Returns all the ingredients that are accumulated for a given process.

    Returns all the ingredients that are accumulated for a given process.

    processId

    The process identifier

    waitTimeoutMillis

    the maximum wait time

    Annotations
    @throws( ... ) @throws( ... )
  24. def getIngredients(processId: String, waitTimeoutMillis: Long): Map[String, AnyRef]

    Permalink

    Returns all the ingredients that are accumulated for a given process.

    Returns all the ingredients that are accumulated for a given process.

    processId

    The process identifier

    waitTimeoutMillis

    the maximum wait time

    Annotations
    @throws( ... ) @throws( ... )
  25. def getVisualState(processId: UUID): String

    Permalink

    Returns the visual state of the recipe in dot format with a default timeout of 20 seconds

    Returns the visual state of the recipe in dot format with a default timeout of 20 seconds

    processId

    The process identifier

  26. def getVisualState(processId: String): String

    Permalink

    Returns the visual state of the recipe in dot format with a default timeout of 20 seconds

    Returns the visual state of the recipe in dot format with a default timeout of 20 seconds

    processId

    The process identifier

  27. def getVisualState(processId: UUID, waitTimeoutMillis: Long): String

    Permalink

    Returns the visual state of the recipe in dot format

    Returns the visual state of the recipe in dot format

    processId

    The process identifier

    waitTimeoutMillis

    The maximum time to wait

    Annotations
    @throws( ... )
  28. def getVisualState(processId: String, waitTimeoutMillis: Long): String

    Permalink

    Returns the visual state of the recipe in dot format

    Returns the visual state of the recipe in dot format

    processId

    The process identifier

    waitTimeoutMillis

    The maximum time to wait

    Annotations
    @throws( ... )
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def processEvent(processId: UUID, event: Any): Unit

    Permalink

    This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker

    This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker

    processId

    The process identifier

    event

    The event to fire

  35. def processEvent(processId: String, event: Any): Unit

    Permalink

    This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker

    This fires the given event in the recipe for the process with the given processId This waits with returning until all steps that can be executed are executed by Baker

    processId

    The process identifier

    event

    The event to fire

  36. def processEventAsync(processId: UUID, event: Any): BakerResponse

    Permalink

    This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.

    This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.

    processId

    The process identifier

    event

    The event to fire

  37. def processEventAsync(processId: String, event: Any): BakerResponse

    Permalink

    This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.

    This fires the given event in the recipe for the process with the given processId This returns a BakerResponse.

    processId

    The process identifier

    event

    The event to fire

  38. def registerEventListener(listener: EventListener): Unit

    Permalink

    Registers a listener to all runtime events for this baker instance.

    Registers a listener to all runtime events for this baker instance.

    Note that:

    - The delivery guarantee is *AT MOST ONCE*. Practically this means you can miss events when the application terminates (unexpected or not). - The delivery is local (JVM) only, you will NOT receive events from other nodes when running in cluster mode.

    Because of these constraints you should not use an event listener for critical functionality. Valid use cases might be:

    - logging - metrics - unit tests - ...

    listener

    The listener to subscribe to events.

  39. def shutdown(): Unit

    Permalink

    Attempts to gracefully shutdown the baker system.

  40. def shutdown(timeout: Duration): Unit

    Permalink

    Attempts to gracefully shutdown the baker system.

    Attempts to gracefully shutdown the baker system.

    timeout

    The time to wait for the shard handover.

  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped