BatchPolicy
in package
BatchPolicy encapsulates parameters for policy attributes used in write operations.
This object is passed into methods where database writes can occur.
Table of Contents
Properties
- $allow_inline : mixed
- $allow_inline_ssd : mixed
- $allow_partial_results : mixed
- $concurrent_nodes : mixed
- $exit_fast_on_exhausted_connection_pool : mixed
- $filter_expression : mixed
- $max_retries : mixed
- $read_mode_ap : mixed
- $read_mode_sc : mixed
- $respond_all_keys : mixed
- $send_key : mixed
- $sleep_multiplier : mixed
- $socket_timeout : mixed
- $total_timeout : mixed
- $use_compression : mixed
Methods
- __construct() : mixed
- getAllowInline() : bool
- getAllowInlineSsd() : bool
- getAllowPartialResults() : bool
- getConcurrentNodes() : int
- getExitFastOnExhaustedConnectionPool() : bool
- getFilterExpression() : Expression|null
- getMaxRetries() : int
- getReadModeAp() : ReadModeAP
- getReadModeSc() : ReadModeSC
- getRespondAllKeys() : bool
- getSendKey() : bool
- getSleepMultiplier() : float
- getSocketTimeout() : int
- getTotalTimeout() : int
- getUseCompression() : bool
- setAllowInline() : mixed
- setAllowInlineSsd() : mixed
- setAllowPartialResults() : mixed
- setConcurrentNodes() : mixed
- setExitFastOnExhaustedConnectionPool() : mixed
- setFilterExpression() : mixed
- setMaxRetries() : mixed
- setReadModeAp() : mixed
- setReadModeSc() : mixed
- setRespondAllKeys() : mixed
- setSendKey() : mixed
- setSleepMultiplier() : mixed
- setSocketTimeout() : mixed
- setTotalTimeout() : mixed
- setUseCompression() : mixed
Properties
$allow_inline
public
mixed
$allow_inline
$allow_inline_ssd
public
mixed
$allow_inline_ssd
$allow_partial_results
public
mixed
$allow_partial_results
$concurrent_nodes
public
mixed
$concurrent_nodes
$exit_fast_on_exhausted_connection_pool
public
mixed
$exit_fast_on_exhausted_connection_pool
$filter_expression
public
mixed
$filter_expression
$max_retries
public
mixed
$max_retries
$read_mode_ap
public
mixed
$read_mode_ap
$read_mode_sc
public
mixed
$read_mode_sc
$respond_all_keys
public
mixed
$respond_all_keys
$send_key
public
mixed
$send_key
$sleep_multiplier
public
mixed
$sleep_multiplier
$socket_timeout
public
mixed
$socket_timeout
$total_timeout
public
mixed
$total_timeout
$use_compression
public
mixed
$use_compression
Methods
__construct()
public
__construct() : mixed
getAllowInline()
public
getAllowInline() : bool
Return values
boolgetAllowInlineSsd()
public
getAllowInlineSsd() : bool
Return values
boolgetAllowPartialResults()
public
getAllowPartialResults() : bool
Return values
boolgetConcurrentNodes()
public
getConcurrentNodes() : int
Return values
intgetExitFastOnExhaustedConnectionPool()
public
getExitFastOnExhaustedConnectionPool() : bool
Return values
boolgetFilterExpression()
public
getFilterExpression() : Expression|null
Return values
Expression|nullgetMaxRetries()
public
getMaxRetries() : int
Return values
intgetReadModeAp()
public
getReadModeAp() : ReadModeAP
Return values
ReadModeAPgetReadModeSc()
public
getReadModeSc() : ReadModeSC
Return values
ReadModeSCgetRespondAllKeys()
public
getRespondAllKeys() : bool
Return values
boolgetSendKey()
public
getSendKey() : bool
Return values
boolgetSleepMultiplier()
public
getSleepMultiplier() : float
Return values
floatgetSocketTimeout()
public
getSocketTimeout() : int
Return values
intgetTotalTimeout()
public
getTotalTimeout() : int
Return values
intgetUseCompression()
public
getUseCompression() : bool
Return values
boolsetAllowInline()
public
setAllowInline(bool $allow_inline) : mixed
Parameters
- $allow_inline : bool
setAllowInlineSsd()
public
setAllowInlineSsd(bool $allow_inline_ssd) : mixed
Parameters
- $allow_inline_ssd : bool
setAllowPartialResults()
public
setAllowPartialResults(bool $allow_partial_results) : mixed
Parameters
- $allow_partial_results : bool
setConcurrentNodes()
public
setConcurrentNodes(int $concurrent_nodes) : mixed
Parameters
- $concurrent_nodes : int
setExitFastOnExhaustedConnectionPool()
public
setExitFastOnExhaustedConnectionPool(bool $exit_fast_on_exhausted_connection_pool) : mixed
Parameters
- $exit_fast_on_exhausted_connection_pool : bool
setFilterExpression()
public
setFilterExpression(mixed $filter_expression) : mixed
Parameters
- $filter_expression : mixed
setMaxRetries()
public
setMaxRetries(int $max_retries) : mixed
Parameters
- $max_retries : int
setReadModeAp()
public
setReadModeAp(mixed $read_mode_ap) : mixed
Parameters
- $read_mode_ap : mixed
setReadModeSc()
public
setReadModeSc(mixed $read_mode_sc) : mixed
Parameters
- $read_mode_sc : mixed
setRespondAllKeys()
public
setRespondAllKeys(bool $respond_all_keys) : mixed
Parameters
- $respond_all_keys : bool
setSendKey()
public
setSendKey(bool $send_key) : mixed
Parameters
- $send_key : bool
setSleepMultiplier()
public
setSleepMultiplier(float $sleep_multiplier) : mixed
Parameters
- $sleep_multiplier : float
setSocketTimeout()
public
setSocketTimeout(int $timeout_millis) : mixed
Parameters
- $timeout_millis : int
setTotalTimeout()
public
setTotalTimeout(int $timeout_millis) : mixed
Parameters
- $timeout_millis : int
setUseCompression()
public
setUseCompression(bool $use_compression) : mixed
Parameters
- $use_compression : bool