RoadRunnerSearchAttributeInvocationCache
in package
implements
SearchAttributeInvocationCacheInterface
FinalYes
Table of Contents
Interfaces
Constants
- CACHE_NAME : mixed = 'test'
- STORE_KEY : mixed = '__temporal_testing_search_attributes__'
Properties
- $cache : StorageInterface
Methods
- __construct() : mixed
- all() : array<string, array{operation: string, type: string, value?: mixed}>
- clear() : void
- create() : self
- getUpsert() : array{operation: string, type: string, value?: mixed}|null
- recordUpsert() : void
- wasUpserted() : bool
- map() : array<string, array{operation: string, type: string, value?: mixed}>
Constants
CACHE_NAME
private
mixed
CACHE_NAME
= 'test'
STORE_KEY
private
mixed
STORE_KEY
= '__temporal_testing_search_attributes__'
Properties
$cache
private
StorageInterface
$cache
Methods
__construct()
public
__construct(non-empty-string $host, non-empty-string $cacheName) : mixed
Parameters
- $host : non-empty-string
- $cacheName : non-empty-string
all()
public
all() : array<string, array{operation: string, type: string, value?: mixed}>
Return values
array<string, array{operation: string, type: string, value?: mixed}>clear()
public
clear() : void
create()
public
static create() : self
Return values
selfgetUpsert()
public
getUpsert(string $name) : array{operation: string, type: string, value?: mixed}|null
Parameters
- $name : string
Return values
array{operation: string, type: string, value?: mixed}|nullrecordUpsert()
public
recordUpsert(string $name, array<string|int, mixed> $entry) : void
Parameters
- $name : string
- $entry : array<string|int, mixed>
wasUpserted()
public
wasUpserted(string $name) : bool
Parameters
- $name : string
Return values
boolmap()
private
map() : array<string, array{operation: string, type: string, value?: mixed}>