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 a new instance of the recipe

    This Bakes a new instance of the recipe

    processId

    process id

  6. val baker: Baker

    Permalink
  7. def clone(): AnyRef

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

    Permalink
  9. val defaultTimeout: Int

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

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

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

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

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

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

    Permalink

    Returns the compiled recipe

    Returns the compiled recipe

    returns

    The compiled recipe.

  16. def getEvents(processId: UUID): EventList

    Permalink

    Get all events that have occurred for a given process

    Get all events that have occurred for a given process

    processId

    the identifier of the process

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

    Permalink

    Get all events that have occurred for a given process

    Get all events that have occurred for a given process

    processId

    the identifier of the process

    waitTimeoutMillis

    the maximum wait time

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

    Permalink

    Gets all the ingredients that are created in a given model

    Gets all the ingredients that are created in a given model

    processId

    the identifier of the process

  19. def getIngredients(processId: UUID, waitTimeoutMillis: Long): Map[String, AnyRef]

    Permalink

    Gets all the ingredients that are created in a given model

    Gets all the ingredients that are created in a given model

    processId

    the identifier of the process

    waitTimeoutMillis

    the maximum wait time

  20. def getVisualState(processId: UUID): String

    Permalink

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

  21. 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

  22. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. 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 identifier of the process

    event

    The event to fire

  28. def processEventAsync(processId: UUID, event: Any): JBakerResponse

    Permalink

    This fires the given event in the recipe for the process with the given processId This returns a JBaker response which is a future.

    This fires the given event in the recipe for the process with the given processId This returns a JBaker response which is a future.

    processId

    the identifier of the process

    event

    The event to fire

  29. 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.

  30. def shutdown(): Unit

    Permalink

    Attempts to gracefully shutdown the baker system.

  31. 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.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped