Documentation

TimeoutHandler
in package

Table of Contents

ANALYTICS  = "analytics"
KV  = "kv"
KV_DURABLE  = "kvDurable"
MANAGEMENT  = "management"
QUERY  = "query"
SEARCH  = "search"
VIEW  = "view"
$timeouts  : array<string|int, mixed>
__construct()  : mixed
getTimeout()  : float
checkDurability()  : bool
getDefaultTimeout()  : int

Constants

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $setTimeouts) : mixed
Parameters
$setTimeouts : array<string|int, mixed>
Return values
mixed

getTimeout()

public getTimeout(string $service, array<string|int, mixed> $options) : float
Parameters
$service : string
$options : array<string|int, mixed>
Return values
float

checkDurability()

private static checkDurability(array<string|int, mixed> $options) : bool
Parameters
$options : array<string|int, mixed>
Return values
bool

getDefaultTimeout()

private getDefaultTimeout(string $service, bool $durable) : int
Parameters
$service : string
$durable : bool
Return values
int

        

Search results