Flow PHP

BucketingConfig implements Describable

Read onlyYes
FinalYes

Interfaces

Describable

Properties

$batchSize  : int
$bucketsCount  : int
$memoryLimit  : Unit
$storage  : RowsStorage

Methods

__construct()  : mixed
describe()  : null|Description
null when the storage does not describe (a PSR cache, a user storage).
fromDescription()  : static
spilling()  : RowsStorage
The storage behind the memory limit - a resident storage already holds everything in memory.

Properties

Methods

__construct()

public __construct(RowsStorage $storage, int<1, max> $bucketsCount, int<1, max> $batchSize, Unit $memoryLimit) : mixed
Parameters
$storage : RowsStorage
$bucketsCount : int<1, max>
$batchSize : int<1, max>
$memoryLimit : Unit

describe()

null when the storage does not describe (a PSR cache, a user storage).

public describe() : null|Description
Return values
null|Description —

null when this instance cannot cross a process boundary (a live client, a custom collaborator)

fromDescription()

public static fromDescription(array<string|int, mixed> $data, Rebuild $rebuild) : static
Parameters
$data : array<string|int, mixed>
$rebuild : Rebuild
Return values
static
On this page

Search results