RetryReason
Table of Contents
-
ANALYTICS_TEMPORARY_FAILURE
= "ANALYTICS_TEMPORARY_FAILURE"
-
CIRCUIT_BREAKER_OPEN
= "CIRCUIT_BREAKER_OPEN"
-
KV_COLLECTION_OUTDATED
= "KV_COLLECTION_OUTDATED"
-
KV_ERROR_MAP_RETRY_INDICATED
= "KV_ERROR_MAP_RETRY_INDICATED"
-
KV_LOCKED
= "KV_LOCKED"
-
KV_NOT_MY_VBUCKET
= "KV_NOT_MY_VBUCKET"
-
KV_SYNC_WRITE_IN_PROGRESS
= "KV_SYNC_WRITE_IN_PROGRESS"
-
KV_SYNC_WRITE_RE_COMMIT_IN_PROGRESS
= "KV_SYNC_WRITE_RE_COMMIT_IN_PROGRESS"
-
KV_TEMPORARY_FAILURE
= "KV_TEMPORARY_FAILURE"
-
NODE_NOT_AVAILABLE
= "NODE_NOT_AVAILABLE"
-
QUERY_INDEX_NOT_FOUND
= "QUERY_INDEX_NOT_FOUND"
-
QUERY_PREPARED_STATEMENT_FAILURE
= "QUERY_PREPARED_STATEMENT_FAILURE"
-
SEARCH_TOO_MANY_REQUESTS
= "SEARCH_TOO_MANY_REQUESTS"
-
SERVICE_NOT_AVAILABLE
= "SERVICE_NOT_AVAILABLE"
-
SERVICE_RESPONSE_CODE_INDICATED
= "SERVICE_RESPONSE_CODE_INDICATED"
-
SOCKET_CLOSED_WHILE_IN_FLIGHT
= "SOCKET_CLOSED_WHILE_IN_FLIGHT"
-
SOCKET_NOT_AVAILABLE
= "SOCKET_NOT_AVAILABLE"
-
UNKNOWN
= "UNKNOWN"
-
VIEWS_NO_ACTIVE_PARTITION
= "VIEWS_NO_ACTIVE_PARTITION"
-
VIEWS_TEMPORARY_FAILURE
= "VIEWS_TEMPORARY_FAILURE"
-
REASONS
= [self::UNKNOWN => [false, false], self::SOCKET_NOT_AVAILABLE => [true, false], self::SERVICE_NOT_AVAILABLE => [true, false], self::NODE_NOT_AVAILABLE => [true, false], self::KV_NOT_MY_VBUCKET => [true, false], self::KV_COLLECTION_OUTDATED => [true, true], self::KV_ERROR_MAP_RETRY_INDICATED => [true, false], self::KV_LOCKED => [true, false], self::KV_TEMPORARY_FAILURE => [true, false], self::KV_SYNC_WRITE_IN_PROGRESS => [true, false], self::KV_SYNC_WRITE_RE_COMMIT_IN_PROGRESS => [true, false], self::SERVICE_RESPONSE_CODE_INDICATED => [true, false], self::SOCKET_CLOSED_WHILE_IN_FLIGHT => [false, false], self::CIRCUIT_BREAKER_OPEN => [true, false], self::QUERY_PREPARED_STATEMENT_FAILURE => [true, false], self::QUERY_INDEX_NOT_FOUND => [true, false], self::ANALYTICS_TEMPORARY_FAILURE => [true, false], self::SEARCH_TOO_MANY_REQUESTS => [true, false], self::VIEWS_TEMPORARY_FAILURE => [true, false], self::VIEWS_NO_ACTIVE_PARTITION => [true, true]]
-
$allowsNonIdempotentRetry
: bool
-
$alwaysRetry
: bool
-
$reason
: string
-
__construct()
: mixed
-
allowsNonIdempotentRetry()
: mixed
-
alwaysRetry()
: mixed
-
build()
: RetryReason
-
reason()
: string
ANALYTICS_TEMPORARY_FAILURE
public
mixed
ANALYTICS_TEMPORARY_FAILURE
= "ANALYTICS_TEMPORARY_FAILURE"
CIRCUIT_BREAKER_OPEN
public
mixed
CIRCUIT_BREAKER_OPEN
= "CIRCUIT_BREAKER_OPEN"
KV_COLLECTION_OUTDATED
public
mixed
KV_COLLECTION_OUTDATED
= "KV_COLLECTION_OUTDATED"
KV_ERROR_MAP_RETRY_INDICATED
public
mixed
KV_ERROR_MAP_RETRY_INDICATED
= "KV_ERROR_MAP_RETRY_INDICATED"
KV_LOCKED
public
mixed
KV_LOCKED
= "KV_LOCKED"
KV_NOT_MY_VBUCKET
public
mixed
KV_NOT_MY_VBUCKET
= "KV_NOT_MY_VBUCKET"
KV_SYNC_WRITE_IN_PROGRESS
public
mixed
KV_SYNC_WRITE_IN_PROGRESS
= "KV_SYNC_WRITE_IN_PROGRESS"
KV_SYNC_WRITE_RE_COMMIT_IN_PROGRESS
public
mixed
KV_SYNC_WRITE_RE_COMMIT_IN_PROGRESS
= "KV_SYNC_WRITE_RE_COMMIT_IN_PROGRESS"
KV_TEMPORARY_FAILURE
public
mixed
KV_TEMPORARY_FAILURE
= "KV_TEMPORARY_FAILURE"
NODE_NOT_AVAILABLE
public
mixed
NODE_NOT_AVAILABLE
= "NODE_NOT_AVAILABLE"
QUERY_INDEX_NOT_FOUND
public
mixed
QUERY_INDEX_NOT_FOUND
= "QUERY_INDEX_NOT_FOUND"
QUERY_PREPARED_STATEMENT_FAILURE
public
mixed
QUERY_PREPARED_STATEMENT_FAILURE
= "QUERY_PREPARED_STATEMENT_FAILURE"
SEARCH_TOO_MANY_REQUESTS
public
mixed
SEARCH_TOO_MANY_REQUESTS
= "SEARCH_TOO_MANY_REQUESTS"
SERVICE_NOT_AVAILABLE
public
mixed
SERVICE_NOT_AVAILABLE
= "SERVICE_NOT_AVAILABLE"
SERVICE_RESPONSE_CODE_INDICATED
public
mixed
SERVICE_RESPONSE_CODE_INDICATED
= "SERVICE_RESPONSE_CODE_INDICATED"
SOCKET_CLOSED_WHILE_IN_FLIGHT
public
mixed
SOCKET_CLOSED_WHILE_IN_FLIGHT
= "SOCKET_CLOSED_WHILE_IN_FLIGHT"
SOCKET_NOT_AVAILABLE
public
mixed
SOCKET_NOT_AVAILABLE
= "SOCKET_NOT_AVAILABLE"
UNKNOWN
public
mixed
UNKNOWN
= "UNKNOWN"
VIEWS_NO_ACTIVE_PARTITION
public
mixed
VIEWS_NO_ACTIVE_PARTITION
= "VIEWS_NO_ACTIVE_PARTITION"
VIEWS_TEMPORARY_FAILURE
public
mixed
VIEWS_TEMPORARY_FAILURE
= "VIEWS_TEMPORARY_FAILURE"
REASONS
private
mixed
REASONS
= [self::UNKNOWN => [false, false], self::SOCKET_NOT_AVAILABLE => [true, false], self::SERVICE_NOT_AVAILABLE => [true, false], self::NODE_NOT_AVAILABLE => [true, false], self::KV_NOT_MY_VBUCKET => [true, false], self::KV_COLLECTION_OUTDATED => [true, true], self::KV_ERROR_MAP_RETRY_INDICATED => [true, false], self::KV_LOCKED => [true, false], self::KV_TEMPORARY_FAILURE => [true, false], self::KV_SYNC_WRITE_IN_PROGRESS => [true, false], self::KV_SYNC_WRITE_RE_COMMIT_IN_PROGRESS => [true, false], self::SERVICE_RESPONSE_CODE_INDICATED => [true, false], self::SOCKET_CLOSED_WHILE_IN_FLIGHT => [false, false], self::CIRCUIT_BREAKER_OPEN => [true, false], self::QUERY_PREPARED_STATEMENT_FAILURE => [true, false], self::QUERY_INDEX_NOT_FOUND => [true, false], self::ANALYTICS_TEMPORARY_FAILURE => [true, false], self::SEARCH_TOO_MANY_REQUESTS => [true, false], self::VIEWS_TEMPORARY_FAILURE => [true, false], self::VIEWS_NO_ACTIVE_PARTITION => [true, true]]
$allowsNonIdempotentRetry
private
bool
$allowsNonIdempotentRetry
$alwaysRetry
private
bool
$alwaysRetry
$reason
private
string
$reason
__construct()
public
__construct(string $reason) : mixed
Parameters
-
$reason
: string
-
-
throws
-
InvalidArgumentException
Return values
mixed
—
allowsNonIdempotentRetry()
public
allowsNonIdempotentRetry() : mixed
Return values
mixed
—
alwaysRetry()
public
alwaysRetry() : mixed
Return values
mixed
—
build()
public
static build(string $reason) : RetryReason
Parameters
-
$reason
: string
-
Return values
RetryReason
—
reason()
public
reason() : string
Return values
string
—