BaseTask MembersAerospike

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.
Back to 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.
Back to Top
Fields

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