BaseTask Class

Aerospike
Task used to poll for server task completion.
Inheritance Hierarchy

SystemObject
  Aerospike.ClientBaseTask
    Aerospike.ClientExecuteTask
    Aerospike.ClientIndexTask
    Aerospike.ClientRegisterTask

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public abstract class BaseTask

The BaseTask type exposes the following members.

Constructors

  NameDescription
Public methodBaseTask
Initialize task that has already completed.
Public methodBaseTask(Cluster, Policy)
Initialize task with fields needed to query server nodes.
Top
Methods

  NameDescription
Public methodIsDone
Has task completed.
Public methodQueryStatus
Query all nodes for task completion status.
Public methodWait
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.
Public methodWait(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.
Public methodWait(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.
Top
Fields

  NameDescription
Public fieldStatic memberCOMPLETE
Public fieldStatic memberIN_PROGRESS
Public fieldStatic memberNOT_FOUND
Top
See Also

Reference