ExternalStorageOptions
in package
FinalYes
Tags
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
DEFAULT_MAX_DRIVER_OPERATIONS
public
mixed
DEFAULT_MAX_DRIVER_OPERATIONS
= 64
DEFAULT_MAX_OPERATIONS_PER_MESSAGE
public
mixed
DEFAULT_MAX_OPERATIONS_PER_MESSAGE
= 8
DEFAULT_PAYLOAD_SIZE_THRESHOLD
public
mixed
DEFAULT_PAYLOAD_SIZE_THRESHOLD
= 256 * 1024
Properties
$drivers read-only
public
array<string|int, mixed>
$drivers
$driverSelector read-only
public
callable(StorageDriverSelectContext, Payload): Array
$driverSelector
$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