Package io.superdurable.dex
package io.superdurable.dex
-
ClassDescriptionControls which active Step types Dex records in the
ActiveStepTypessearch index.Exchanges a long-lived API key for short-lived Dex bearer tokens.Configures the timeout and HTTP transport for an API key credential.Reports a token endpoint, response, transport, or timeout failure.Opens the HTTP connection used for an API key exchange.Attribute<T>Defines one durable, typed value stored with a Flow execution.Describes how an Attribute is indexed for Flow search.Defines the value representation used by the search backend.Defines one Attribute lock for a Step'swaitFororexecutemethod.AttributeMap<T>Defines a durable map of named, typed Attribute instances.Describes a scalar Attribute predicate.Caches immutable, server-addressed blob payloads on local disk.Configures the disk-backedBlobCache.Batches text chunks into best-effort Stream messages during one Step invocation.Channel<T>Defines one durable, typed message Channel for a Flow.ChannelMap<T>Defines a durable map of named, typed Channel instances.Identifies one typed value that is still pending in a Channel.Provides synchronous, strongly typed operations for starting and controlling Dex Flows.Configures a synchronousClientconnection and value mapper.Builds immutable Client options.Represents one Timer, Channel, or SubFlow condition used by aWait.Groups conditions that must all be satisfied as one alternative in a combined wait.Exposes invocation metadata and durable state operations to Step and RPC code.Supplies a bearer token before each Client or Worker service call.Reads a bearer token from a file and picks up rotations without a restart.Flow<StartInput>Defines the Steps, persistence, and RPC surface of one Flow type.Configures server behavior for one Flow execution.Builds immutableFlowConfigvalues.Classifies why a Flow reached a terminal status other thanFlowStatus.COMPLETED.Describes the identity and current status of one Flow execution.Describes the observed state and output of a Flow used as a SubFlow or waited on by a client.Represents the lifecycle status of a Flow execution.Configures one Flow timeout handler's Execute semantics and state snapshot.Builds immutableFlowTimeoutHandlerOptionsvalues.Controls how Dex responds when a positive soft Flow timeout expires.Maps Java Worker application exceptions to gRPC status codes.Builds immutable exception-to-status mappings.Controls whetherClient.startFlow(Flow, String, I)may reuse an existing Flow ID.Represents a typed Attribute, Channel, or Stream definition in aPersistenceSchema.Declares the Attributes, Channels, and Streams that belong to a Flow.Describes one queue in an immutable pull readiness snapshot.Identifies a permanent pull rejection leaving a queue without a registered stream.Provides an independent, immutable snapshot of pull queue readiness.Configures a Worker that opens outbound task streams to Dex.Builds immutable outbound polling options.Describes the final failure that caused a Step method recovery.Validates and indexes the Flow definitions shared by a client or worker.Configures exponential-backoff retries for Flow or Step operations.Builds immutableRetryPolicyvalues.Marks a public Flow method as an RPC endpoint.Selects one Attribute-map instance to lock during an RPC invocation.Provides serializable functional types for strongly typed RPC method references.Represents an RPC function with no application input and one output.Represents an RPC function with one input and one output.Represents an RPC procedure with no application input or output.Represents an RPC procedure with one input and no output.Adds runtime-selected Attribute-map locks and exact map-instance loads to one RPC invocation.Builds immutableRPCInvokeOptionsvalues.RPCResult<O>Carries a typed RPC output, optional next-Step movements, and Step type cancellation.Represents one Flow execution returned by a search query.Controls inclusion of earlier Continue-as-New runs in visibility searches.Builds immutable search options.Contains one page of Flow search results and its continuation token.Configures oneClient.startFlow(Flow, String, I)request.Builds immutableStartFlowOptionsvalues.Step<I>Implements one durable unit of Flow logic.Contains one output-bearing Step completion returned byClient.waitForFlow(String).Describes the durable action Dex takes after a Step executes.Selects when Dex durably records a Step method result relative to subsequent Flow work.Selects one execution of a Step within a Flow.StepList<StartInput>Declares a Flow's ordered collection of registered Steps.StepMovement<I>Describes one transition to a typed Step and its input.Configures timeout, retry, durability, locking, and failure behavior for a Step.Builds immutableStepOptionsvalues.Configures howClient.stopFlow(String)ends a running Flow.Selects howClient.stopFlow(String)ends a running Flow.Stream<T>Defines a typed best-effort resumable message Stream owned by one Flow type.Describes one retained Stream message returned by Stream Client reads.Contains one newest-first page returned byClient.listStreamMessages(String, Stream, int, String).Creates durable SubFlow conditions and reads their results during Step execution.Configures one durable SubFlow condition.Builds immutable SubFlow options.Controls how a SubFlow condition resolves an execution that already uses its generated Flow ID.Creates server-side durable timer conditions for Step waits.Selects a timer condition within one Step execution.Selects a historical point and replay behavior forClient.timeTravel(String, TimeTravelOptions).Builds immutableTimeTravelOptionsvalues.Selects the Step method used as aTimeTravelType.STEP_EXECUTION_IDboundary.Selects the historical point from which a Flow resumes in a new run.Describes when Dex may invoke a Step's execute method.Configures one durable Attribute match wait.Builds immutable Attribute wait options.Controls what happens after a Step's wait-for method exhausts its retry policy.Configures one durable Step completion wait.Builds immutable Step completion wait options.Hosts synchronous Java Step and RPC implementations for registered Flows.Configures a Java Worker's outbound polling, connection, and serialization.Builds immutableWorkerOptionsvalues.