BaseTask Class

Task used to poll for server task completion.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public abstract class BaseTask
Inheritance
Object    BaseTask
Derived

Constructors

BaseTask Initialize task that has already completed.
BaseTask(Cluster, Policy) Initialize task with fields needed to query server nodes.

Methods

IsDone Has task completed.
QueryStatus Query all nodes for task completion status.
Wait Wait for asynchronous task to complete using default sleep interval (1 second). The timeout is passed from the original task policy. If task is not complete by timeout, an exception is thrown. Do not timeout if timeout set to zero.
Wait(Int32) Wait for asynchronous task to complete using given sleep interval in milliseconds. The timeout is passed from the original task policy. If task is not complete by timeout, an exception is thrown. Do not timeout if policy timeout set to zero.
Wait(Int32, Int32) Wait for asynchronous task to complete using given sleep interval and timeout in milliseconds. If task is not complete by timeout, an exception is thrown. Do not timeout if timeout set to zero.

Fields

See Also