Share via


com.microsoft.durabletask

Classes

CompositeTaskFailedException

Exception that gets thrown when multiple Task<V>s for an activity or sub-orchestration fails with an unhandled exception.

DataConverter.DataConverterException
DurableTaskClient

Base class that defines client operations for managing orchestration instances.

DurableTaskGrpcClientBuilder

Builder class for constructing new DurableTaskClient objects that communicate with a sidecar process over gRPC.

DurableTaskGrpcWorker

Task hub worker that connects to a sidecar process over gRPC to execute orchestrator and activity events.

DurableTaskGrpcWorkerBuilder

Builder object for constructing customized DurableTaskGrpcWorker instances.

FailureDetails

Class that represents the details of a task failure.

JacksonDataConverter

An implementation of DataConverter that uses Jackson APIs for data serialization.

NewOrchestrationInstanceOptions

Options for starting a new instance of an orchestration.

OrchestrationMetadata

Represents a snapshot of an orchestration instance's current state, including metadata.

OrchestrationRunner

Helper class for invoking orchestrations directly, without constructing a DurableTaskGrpcWorker object.

OrchestrationStatusQuery

Class used for constructing orchestration metadata queries.

OrchestrationStatusQueryResult

Class representing the results of a filtered orchestration metadata query.

OrchestratorBlockedException

Control flow Throwable class for orchestrator functions.

PurgeInstanceCriteria

Class used for constructing orchestration instance purge selection criteria.

PurgeResult

Class representing the results of an orchestration state purge operation.

RetryContext

Context data that's provided to RetryHandler implementations.

RetryPolicy

A declarative retry policy that can be configured for activity or sub-orchestration calls.

Task<V>

Represents an asynchronous operation in a durable orchestration.

TaskCanceledException

Represents a task cancellation, either because of a timeout or because of an explicit cancellation operation.

TaskFailedException

Exception that gets thrown when awaiting a Task<V> for an activity or sub-orchestration that fails with an unhandled exception.

TaskOptions

Options that can be used to control the behavior of orchestrator and activity task execution.

Interfaces

DataConverter

Interface for serializing and deserializing data that gets passed to and from orchestrators and activities.

OrchestratorFunction<R>

Functional interface for inline orchestrator functions.

RetryHandler

Functional interface for implementing custom task retry handlers.

TaskActivity

Common interface for task activity implementations.

TaskActivityContext

Interface that provides TaskActivity implementations with activity context, such as an activity's name and its input.

TaskActivityFactory

Factory interface for producing TaskActivity implementations.

TaskOrchestration

Common interface for task orchestrator implementations.

TaskOrchestrationContext

Used by orchestrators to perform actions such as scheduling tasks, durable timers, waiting for external events, and for getting basic information about the current orchestration.

TaskOrchestrationFactory

Factory interface for producing TaskOrchestration implementations.

Enums

OrchestrationRuntimeStatus

Enum describing the runtime status of the orchestration.