Task used to poll for server task completion.
Inheritance Hierarchy
Aerospike.ClientBaseTask
Aerospike.ClientExecuteTask
Aerospike.ClientIndexTask
Aerospike.ClientRegisterTask
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.16.1 (3.9.16.1)
Syntax
C#
public abstract class BaseTask
The BaseTask type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BaseTask |
Initialize task that has already completed.
|
![]() | BaseTask(Cluster, Policy) |
Initialize task with fields needed to query server nodes.
|
Methods
Name | Description | |
---|---|---|
![]() | 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
Name | Description | |
---|---|---|
![]() ![]() | COMPLETE | |
![]() ![]() | IN_PROGRESS | |
![]() ![]() | NOT_FOUND |
See Also