final case class ZLocalActivityOptions extends Product with Serializable

Options used to configure how a local Activity is invoked.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZLocalActivityOptions
  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. val doNotIncludeArgumentsIntoMarker: Option[Boolean]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val localRetryThreshold: Option[zio.Duration]
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. def productElementNames: Iterator[String]
    Definition Classes
    Product
  15. val retryOptions: Option[ZRetryOptions]
  16. val scheduleToCloseTimeout: Option[zio.Duration]
  17. val scheduleToStartTimeout: Option[zio.Duration]
  18. val startToCloseTimeout: Option[zio.Duration]
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toJava: LocalActivityOptions

    Convert to Java SDK's LocalActivityOptions

  21. def transformJavaOptions(f: (Builder) => Builder): ZLocalActivityOptions

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

    Allows to specify options directly on the java SDK's LocalActivityOptions. 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 withDoNotIncludeArgumentsIntoMarker(value: Boolean): ZLocalActivityOptions

    When set to true, the serialized arguments of the local Activity are not included in the Marker Event that stores the local Activity's invocation result.

    When set to true, the serialized arguments of the local Activity are not included in the Marker Event that stores the local Activity's invocation result. The serialized arguments are included only for human troubleshooting as they are never read by the SDK code. In some cases, it is better to not include them to reduce the history size. The default value is set to false.

  26. def withLocalRetryThreshold(value: zio.Duration): ZLocalActivityOptions

    Maximum time to wait between retries locally, while keeping the Workflow Task open via a Heartbeat.

    Maximum time to wait between retries locally, while keeping the Workflow Task open via a Heartbeat. If the delay between the attempts becomes larger that this threshold, a Workflow Timer will be scheduled. Default value is Workflow Task Timeout multiplied by 3.

  27. def withRetryOptions(value: ZRetryOptions): ZLocalActivityOptions

    ZRetryOptions that define how an Activity is retried in case of failure.

    ZRetryOptions that define how an Activity is retried in case of failure.

    If both scheduleToStartTimeout and ZRetryOptions.maximumAttempts are not set, the Activity will not be retried.

    To ensure zero retries, set ZRetryOptions.maximumAttempts to 1.

    See also

    LocalActivityOptions.Builder

  28. def withScheduleToCloseTimeout(value: zio.Duration): ZLocalActivityOptions

  29. def withScheduleToStartTimeout(value: zio.Duration): ZLocalActivityOptions

    Time that the Activity Task can stay in the Worker's internal Task Queue of Local Activities until it's picked up by the Local Activity Executor.

    Time that the Activity Task can stay in the Worker's internal Task Queue of Local Activities until it's picked up by the Local Activity Executor.

    ScheduleToStartTimeout is always non-retryable. Retrying after this timeout doesn't make sense as it would just put the Activity Task back into the same Task Queue.

    Defaults to unlimited.

  30. def withStartToCloseTimeout(value: zio.Duration): ZLocalActivityOptions

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