Packages

p

zio.temporal

workflow

package workflow

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait ExtendsWorkflow[A] extends AnyRef
  2. trait ExtendsWorkflowImplicits extends AnyRef
  3. trait HasPublicNullaryConstructor[A] extends AnyRef
  4. trait HasPublicNullaryConstructorImplicits extends AnyRef
  5. trait IsConcreteClass[A] extends AnyRef
  6. trait IsConcreteClassImplicits extends AnyRef
  7. trait IsWorkflow[A] extends AnyRef
  8. trait IsWorkflowImplicits extends AnyRef
  9. sealed trait ZAsync[+A] extends AnyRef

    Contains result of an asynchronous computation.

    Contains result of an asynchronous computation. Similar to zio.IO with the following differences:

    1. Can be used only inside a Temporal workflow code. Use zio.ZIO and its derivatives to implement activities and workflow starting and querying code. run method doesn't throw InterruptedException. The only way to unblock run is to complete the ZAsync

    2. ZAsync doesn't directly supports cancellation. Use io.temporal.workflow.CancellationScope to cancel and handle cancellations. The pattern is that a canceled operation completes its ZAsync with io.temporal.failure.CanceledFailure when canceled.

    3. Unlike zio.IO (that is lazy), ZAsync is strict. Whenever a ZAsync is created, The thunk is immediately started

  10. final class ZCancellationScope extends AnyRef

    Handle to a cancellation scope created through ZWorkflow.newCancellationScope or ZWorkflow.newDetachedCancellationScope.

    Handle to a cancellation scope created through ZWorkflow.newCancellationScope or ZWorkflow.newDetachedCancellationScope. Supports explicit cancelling of the code a cancellation scope wraps. The code in the CancellationScope has to be executed using run method.

  11. trait ZChildWorkflowExecutionSyntax extends AnyRef
  12. final case class ZChildWorkflowOptions extends Product with Serializable
  13. sealed trait ZChildWorkflowStub extends BasicStubOps

    Represents untyped child workflow stub

    Represents untyped child workflow stub

    See also

    ChildWorkflowStub

  14. final class ZChildWorkflowStubImpl extends ZChildWorkflowStub
  15. final case class ZContinueAsNewOptions extends Product with Serializable

    This class contain overrides for continueAsNew call.

    This class contain overrides for continueAsNew call. Every field can be null and it means that the value of the option should be taken from the originating workflow run.

  16. sealed trait ZExternalWorkflowStub extends BasicStubOps

    Represents untyped external workflow stub

    Represents untyped external workflow stub

    See also

    ExternalWorkflowStub

  17. final class ZExternalWorkflowStubImpl extends ZExternalWorkflowStub
  18. class ZQueueConsumer[E] extends AnyRef
  19. trait ZQueueProducer[E] extends AnyRef
  20. sealed trait ZSaga[+A] extends AnyRef

    Implements the logic to execute compensation operations that is often required in Saga applications.

    Implements the logic to execute compensation operations that is often required in Saga applications. The following is a skeleton to show of how it is supposed to be used in workflow code:

    A

    value type

    See also

    https://en.wikipedia.org/wiki/Compensating_transaction

  21. final class ZWorkerBuildIdVersionSets extends AnyRef

    Represents the sets of compatible Build Ids associated with a particular task queue.

    Represents the sets of compatible Build Ids associated with a particular task queue.

    Note

    experimental in Java SDK

  22. final class ZWorkflowClient extends AnyRef

    Represents Temporal workflow client

    Represents Temporal workflow client

    See also

    WorkflowClient

  23. final case class ZWorkflowClientOptions extends Product with Serializable

    Represents Temporal workflow client options

    Represents Temporal workflow client options

    See also

    WorkflowClientOptions

  24. sealed trait ZWorkflowContinueAsNewStub extends BasicStubOps
  25. class ZWorkflowContinueAsNewStubImpl extends ZWorkflowContinueAsNewStub
  26. trait ZWorkflowContinueAsNewStubSyntax extends AnyRef
  27. trait ZWorkflowExecutionSyntax extends AnyRef
  28. final case class ZWorkflowImplementationClass[T] extends Product with Serializable

    Type-safe wrapper of Class.

    Type-safe wrapper of Class. The wrapper can be constructed only if the wrapped type T is a correct workflow implementation

    T

    workflow implementation type.

  29. final case class ZWorkflowOptions extends Product with Serializable

    Options used to configure how a workflow is executed.

  30. final class ZWorkflowQueue[E] extends ZQueueConsumer[E] with ZQueueProducer[E]
  31. final class ZWorkflowServiceStubs extends AnyRef

    Initializes and holds gRPC blocking and future stubs.

  32. final case class ZWorkflowServiceStubsOptions extends Product with Serializable

    Represents temporal workflow service stubs options

    Represents temporal workflow service stubs options

    See also

    WorkflowServiceStubsOptions

  33. sealed trait ZWorkflowStub extends BasicStubOps with ZWorkflowClientSignalWithStartSyntax
  34. final class ZWorkflowStubImpl extends ZWorkflowStub

    Represents untyped workflow stub

    Represents untyped workflow stub

    See also

    WorkflowStub

Deprecated Type Members

  1. class ZChildWorkflowStubBuilder[Res] extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Build ZChildWorkflowOptions and provide it directly

  2. class ZWorkflowContinueAsNewStubBuilder[A] extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Build ZContinueAsNewOptions and provide it directly

  3. final class ZWorkflowStubBuilder[Res] extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Build ZWorkflowOptions and provide it directly

  4. final class ZWorkflowStubBuilderTaskQueueDsl[Res] extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Build ZWorkflowOptions and provide it directly

  5. final class ZWorkflowStubBuilderWorkflowIdDsl[Res] extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Build ZWorkflowOptions and provide it directly

Deprecated Value Members

  1. object ZChildWorkflowStubBuilder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Build ZChildWorkflowOptions and provide it directly

  2. object ZWorkflowStubBuilderTaskQueueDsl
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Build ZWorkflowOptions and provide it directly

Ungrouped