All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Fields | Related Functions
as_policy_scan Struct Reference

Detailed Description

Scan Policy

Definition at line 777 of file as_policy.h.

#include "as_policy.h"

+ Collaboration diagram for as_policy_scan:

Data Fields

bool durable_delete
 
bool fail_on_cluster_change
 
uint32_t socket_timeout
 
uint32_t timeout
 

Related Functions

(Note that these are not member functions.)

static void as_policy_scan_copy (as_policy_scan *src, as_policy_scan *trg)
 
static as_policy_scanas_policy_scan_init (as_policy_scan *p)
 

Friends And Related Function Documentation

static void as_policy_scan_copy ( as_policy_scan src,
as_policy_scan trg 
)
related

Copy as_policy_scan values.

Parameters
srcThe source policy.
trgThe target policy.

Definition at line 1420 of file as_policy.h.

static as_policy_scan * as_policy_scan_init ( as_policy_scan p)
related

Initialize as_policy_scan to default values.

Parameters
pThe policy to initialize.
Returns
The initialized policy.

Definition at line 1402 of file as_policy.h.

References durable_delete, fail_on_cluster_change, socket_timeout, and timeout.

Field Documentation

bool as_policy_scan::durable_delete

If the scan runs a UDF which results in a record deletion, leave a tombstone for the record. This prevents deleted records from reappearing after node failures. Valid for Aerospike Server Enterprise Edition only.

Default: false (do not tombstone deleted records).

Definition at line 808 of file as_policy.h.

bool as_policy_scan::fail_on_cluster_change

Abort the scan if the cluster is not in a stable state.

Definition at line 799 of file as_policy.h.

uint32_t as_policy_scan::socket_timeout

Maximum time in milliseconds to wait when polling socket for availability prior to performing an operation on the socket on the server side. Zero means there is no socket timeout.

Default: 10000 ms

Definition at line 793 of file as_policy.h.

uint32_t as_policy_scan::timeout

Maximum time in milliseconds to wait for the operation to complete.

The default (0) means do not timeout.

Definition at line 784 of file as_policy.h.


The documentation for this struct was generated from the following file: