ServerCapabilities
in package
Tags
Table of Contents
Properties
- $activityFailureIncludeHeartbeat : bool
- $buildIdBasedVersioning : bool
- $countGroupByExecutionStatus : bool
- $eagerWorkflowStart : bool
- $encodedFailureAttributes : bool
- $internalErrorDifferentiation : bool
- $nexus : bool
- $sdkMetadata : bool
- $signalAndQueryHeader : bool
- $supportsSchedules : bool
- $upsertMemo : bool
Methods
- __construct() : mixed
- isInternalErrorDifferentiation() : bool
- True if internal errors are differentiated from other types of errors for purposes of retrying non-internal errors.
- isSignalAndQueryHeaderSupports() : bool
- True if signal and query headers are supported.
Properties
$activityFailureIncludeHeartbeat read-only
public
bool
$activityFailureIncludeHeartbeat
= false
$buildIdBasedVersioning read-only
public
bool
$buildIdBasedVersioning
= false
$countGroupByExecutionStatus read-only
public
bool
$countGroupByExecutionStatus
= false
$eagerWorkflowStart read-only
public
bool
$eagerWorkflowStart
= false
$encodedFailureAttributes read-only
public
bool
$encodedFailureAttributes
= false
$internalErrorDifferentiation read-only
public
bool
$internalErrorDifferentiation
= false
$nexus read-only
public
bool
$nexus
= false
$sdkMetadata read-only
public
bool
$sdkMetadata
= false
$signalAndQueryHeader read-only
public
bool
$signalAndQueryHeader
= false
$supportsSchedules read-only
public
bool
$supportsSchedules
= false
$upsertMemo read-only
public
bool
$upsertMemo
= false
Methods
__construct()
public
__construct([bool $signalAndQueryHeader = false ][, bool $internalErrorDifferentiation = false ][, bool $activityFailureIncludeHeartbeat = false ][, bool $supportsSchedules = false ][, bool $encodedFailureAttributes = false ][, bool $buildIdBasedVersioning = false ][, bool $upsertMemo = false ][, bool $eagerWorkflowStart = false ][, bool $sdkMetadata = false ][, bool $countGroupByExecutionStatus = false ][, bool $nexus = false ]) : mixed
Parameters
- $signalAndQueryHeader : bool = false
-
True if signal and query headers are supported.
- $internalErrorDifferentiation : bool = false
-
True if internal errors are differentiated from other types of errors for purposes of retrying non-internal errors. When unset/false, clients retry all failures. When true, clients should only retry non-internal errors.
- $activityFailureIncludeHeartbeat : bool = false
-
True if RespondActivityTaskFailed API supports including heartbeat details
- $supportsSchedules : bool = false
-
Supports scheduled workflow features.
- $encodedFailureAttributes : bool = false
-
True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributes
- $buildIdBasedVersioning : bool = false
-
True if server supports dispatching Workflow and Activity tasks based on a worker's build_id (see: https://github.com/temporalio/proposals/blob/a123af3b559f43db16ea6dd31870bfb754c4dc5e/versioning/worker-versions.md)
- $upsertMemo : bool = false
-
True if server supports upserting workflow memo
- $eagerWorkflowStart : bool = false
-
True if server supports eager workflow task dispatching for the StartWorkflowExecution API
- $sdkMetadata : bool = false
-
True if the server knows about the sdk metadata field on WFT completions and will record it in history
- $countGroupByExecutionStatus : bool = false
-
True if the server supports count group by execution status
- $nexus : bool = false
-
True if the server supports Nexus operations. This flag is dependent both on server version and for Nexus to be enabled via server configuration.
isInternalErrorDifferentiation()
True if internal errors are differentiated from other types of errors for purposes of retrying non-internal errors.
public
isInternalErrorDifferentiation() : bool
When unset/false, clients retry all failures. When true, clients should only retry non-internal errors.
Tags
Return values
boolisSignalAndQueryHeaderSupports()
True if signal and query headers are supported.
public
isSignalAndQueryHeaderSupports() : bool