final class TraceEntries implements ArrayAccess, Countable (View source)

internal  
 

Value object for a list of {TraceEntry} objects, as stored in-order in the Redis stream

For full docs and context, see {\Neos\ContentRepository\BehavioralTests\ProjectionRaceConditionTester\Dto\RaceTrackerCatchUpHook}

Methods

__construct(array $traces)

No description

bool
offsetExists(mixed $offset)

No description

offsetGet(mixed $offset)

No description

void
offsetSet(mixed $offset, mixed $value)

No description

void
offsetUnset(mixed $offset)

No description

array
getPidSetInIndexRange(int $startIndex, int $endIndex)

No description

void
iterateRange(int $startIndex, int $endIndex, Closure $callback)

No description

array
int
count()

No description

array
findDoubleProcessingOfEvents()

It shall never happen that the same event (i.e. with the same sequence number) is processed multiple times by the same projector.

string
asNdJson()

No description

Details

__construct(array $traces)

No description

Parameters

array $traces

bool offsetExists(mixed $offset)

No description

Parameters

mixed $offset

Return Value

bool

TraceEntry offsetGet(mixed $offset)

No description

Parameters

mixed $offset

Return Value

TraceEntry

void offsetSet(mixed $offset, mixed $value)

No description

Parameters

mixed $offset
mixed $value

Return Value

void

void offsetUnset(mixed $offset)

No description

Parameters

mixed $offset

Return Value

void

array getPidSetInIndexRange(int $startIndex, int $endIndex)

No description

Parameters

int $startIndex
int $endIndex

Return Value

array

void iterateRange(int $startIndex, int $endIndex, Closure $callback)

No description

Parameters

int $startIndex (inclusive)
int $endIndex (inclusive)
Closure $callback

Return Value

void

array findProjectionConcurrencyViolations()

No description

Return Value

array

Violation Indices

int count()

No description

Return Value

int

array findDoubleProcessingOfEvents()

It shall never happen that the same event (i.e. with the same sequence number) is processed multiple times by the same projector.

Return Value

array

string asNdJson()

No description

Return Value

string