Go to the source code of this file.
|
as_status | aerospike_scan_async (aerospike *as, as_error *err, const as_policy_scan *policy, const as_scan *scan, uint64_t *scan_id, as_async_scan_listener listener, void *udata, as_event_loop *event_loop) |
|
as_status | aerospike_scan_background (aerospike *as, as_error *err, const as_policy_scan *policy, const as_scan *scan, uint64_t *scan_id) |
|
as_status | aerospike_scan_foreach (aerospike *as, as_error *err, const as_policy_scan *policy, const as_scan *scan, aerospike_scan_foreach_callback callback, void *udata) |
|
as_status | aerospike_scan_info (aerospike *as, as_error *err, const as_policy_info *policy, uint64_t scan_id, as_scan_info *info) |
|
as_status | aerospike_scan_node (aerospike *as, as_error *err, const as_policy_scan *policy, const as_scan *scan, const char *node_name, aerospike_scan_foreach_callback callback, void *udata) |
|
as_status | aerospike_scan_node_async (aerospike *as, as_error *err, const as_policy_scan *policy, const as_scan *scan, uint64_t *scan_id, const char *node_name, as_async_scan_listener listener, void *udata, as_event_loop *event_loop) |
|
as_status | aerospike_scan_wait (aerospike *as, as_error *err, const as_policy_info *policy, uint64_t scan_id, uint32_t interval_ms) |
|
Wait for a background scan to be completed by servers.
- Parameters
-
as | The aerospike instance to use for this operation. |
err | The as_error to be populated if an error occurs. |
policy | The policy to use for this operation. If NULL, then the default policy will be used. |
scan_id | The id for the scan job. |
interval_ms | The polling interval in milliseconds. If zero, 1000 ms is used. |
- Returns
- AEROSPIKE_OK on success. Otherwise an error occurred.