Packages

final case class ZWorkflowImplementationOptions extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZWorkflowImplementationOptions
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val activityOptions: Option[Map[String, ZActivityOptions]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. val defaultActivityOptions: Option[ZActivityOptions]
  8. val defaultLocalActivityOptions: Option[ZLocalActivityOptions]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val failWorkflowExceptionTypes: List[Class[_ <: Throwable]]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val localActivityOptions: Option[Map[String, ZLocalActivityOptions]]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toJava: WorkflowImplementationOptions

    Converts workflow implementation options to Java SDK's WorkflowImplementationOptions

  20. def toString(): String
    Definition Classes
    ZWorkflowImplementationOptions → AnyRef → Any
  21. def transformJavaOptions(f: (Builder) => Builder): ZWorkflowImplementationOptions

    Allows to specify options directly on the java SDK's WorkflowImplementationOptions.

    Allows to specify options directly on the java SDK's WorkflowImplementationOptions. Use it in case an appropriate withXXX method is missing

    Note

    the options specified via this method take precedence over those specified via other methods.

  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. def withActivityOptions(values: Map[String, ZActivityOptions]): ZWorkflowImplementationOptions

    Set individual activity options per activityType (activity method name).

    Set individual activity options per activityType (activity method name). Will be merged with the map from zio.temporal.workflow.ZWorkflow.newActivityStub which has the highest precedence.

    values

    map from activityType to ActivityOptions

  26. def withActivityOptions(values: (String, ZActivityOptions)*): ZWorkflowImplementationOptions

    Set individual activity options per activityType (activity method name).

    Set individual activity options per activityType (activity method name). Will be merged with the map from zio.temporal.workflow.ZWorkflow.newActivityStub which has the highest precedence.

    values

    map from activityType to ActivityOptions

  27. def withDefaultActivityOptions(value: ZActivityOptions): ZWorkflowImplementationOptions

    These activity options have the lowest precedence across all activity options.

    These activity options have the lowest precedence across all activity options. Will be overwritten entirely by zio.temporal.workflow.ZWorkflow.newActivityStub and then by the individual activity options if any are set through withActivityOptions

    value

    ZActivityOptions for all activities in the workflow.

  28. def withDefaultLocalActivityOptions(value: ZLocalActivityOptions): ZWorkflowImplementationOptions

    These local activity options have the lowest precedence across all local activity options.

    These local activity options have the lowest precedence across all local activity options. Will be overwritten entirely by zio.temporal.workflow.ZWorkflow.newLocalActivityStub and then by the individual local activity options if any are set through withLocalActivityOptions

    value

    ActivityOptions for all activities in the workflow.

  29. def withFailWorkflowExceptionTypes(values: List[Class[_ <: Throwable]]): ZWorkflowImplementationOptions

    Optional: Sets how workflow worker deals with exceptions thrown from the workflow code which include non-deterministic history events (presumably arising from non-deterministic workflow definitions or non-backward compatible workflow definition changes).

    Optional: Sets how workflow worker deals with exceptions thrown from the workflow code which include non-deterministic history events (presumably arising from non-deterministic workflow definitions or non-backward compatible workflow definition changes).

    The default behavior is to fail workflow on io.temporal.failure.TemporalFailure or any of its subclasses. Any other exceptions thrown from the workflow code are treated as bugs that can be fixed by a new deployment. So workflow is not failed, but it stuck in a retry loop trying to execute the code that led to the unexpected exception.

    This option allows to specify specific exception types which should lead to workflow failure instead of blockage. Any exception that extends the configured type considered matched. For example to fail workflow on any exception pass Throwable class to this method.

  30. def withFailWorkflowExceptionTypes(values: Class[_ <: Throwable]*): ZWorkflowImplementationOptions

    Optional: Sets how workflow worker deals with exceptions thrown from the workflow code which include non-deterministic history events (presumably arising from non-deterministic workflow definitions or non-backward compatible workflow definition changes).

    Optional: Sets how workflow worker deals with exceptions thrown from the workflow code which include non-deterministic history events (presumably arising from non-deterministic workflow definitions or non-backward compatible workflow definition changes).

    The default behavior is to fail workflow on io.temporal.failure.TemporalFailure or any of its subclasses. Any other exceptions thrown from the workflow code are treated as bugs that can be fixed by a new deployment. So workflow is not failed, but it stuck in a retry loop trying to execute the code that led to the unexpected exception.

    This option allows to specify specific exception types which should lead to workflow failure instead of blockage. Any exception that extends the configured type considered matched. For example to fail workflow on any exception pass Throwable class to this method.

  31. def withLocalActivityOptions(values: Map[String, ZLocalActivityOptions]): ZWorkflowImplementationOptions

    Set individual local activity options per activityType (activity method name).

    Set individual local activity options per activityType (activity method name). Will be merged with the map from zio.temporal.workflow.ZWorkflow.newLocalActivityStub which has the highest precedence.

    values

    map from activityType to ActivityOptions

  32. def withLocalActivityOptions(values: (String, ZLocalActivityOptions)*): ZWorkflowImplementationOptions

    Set individual local activity options per activityType (activity method name).

    Set individual local activity options per activityType (activity method name). Will be merged with the map from zio.temporal.workflow.ZWorkflow.newLocalActivityStub which has the highest precedence.

    values

    map from activityType to ActivityOptions

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped