Temporal Docs PHP SDK API Version 2.21 (latest release) Release notes

Documentation

ExternalStorageOptions
in package

FinalYes
Tags
experimental

This API is experimental and may change in the future.

Table of Contents

Constants

DEFAULT_MAX_DRIVER_OPERATIONS  : mixed = 64
DEFAULT_MAX_OPERATIONS_PER_MESSAGE  : mixed = 8
DEFAULT_PAYLOAD_SIZE_THRESHOLD  : mixed = 256 * 1024

Properties

$drivers  : array<string|int, mixed>
$driverSelector  : callable(StorageDriverSelectContext, Payload): Array
$maxDriverOperations  : int
$maxOperationsPerMessage  : int
$payloadSizeThreshold  : int

Methods

__construct()  : mixed

Constants

Properties

$maxDriverOperations read-only

public int $maxDriverOperations = self::DEFAULT_MAX_DRIVER_OPERATIONS

$maxOperationsPerMessage read-only

public int $maxOperationsPerMessage = self::DEFAULT_MAX_OPERATIONS_PER_MESSAGE

$payloadSizeThreshold read-only

public int $payloadSizeThreshold = self::DEFAULT_PAYLOAD_SIZE_THRESHOLD

Methods

__construct()

public __construct(array<int, StorageDriverInterface> $drivers[, null|callable(StorageDriverSelectContext, Payload): Array $driverSelector = null ][, int $payloadSizeThreshold = self::DEFAULT_PAYLOAD_SIZE_THRESHOLD ][, int $maxOperationsPerMessage = self::DEFAULT_MAX_OPERATIONS_PER_MESSAGE ][, int $maxDriverOperations = self::DEFAULT_MAX_DRIVER_OPERATIONS ]) : mixed
Parameters
$drivers : array<int, StorageDriverInterface>
$driverSelector : null|callable(StorageDriverSelectContext, Payload): Array = null
$payloadSizeThreshold : int = self::DEFAULT_PAYLOAD_SIZE_THRESHOLD
$maxOperationsPerMessage : int = self::DEFAULT_MAX_OPERATIONS_PER_MESSAGE
$maxDriverOperations : int = self::DEFAULT_MAX_DRIVER_OPERATIONS
On this page

Search results