BaseTask Methods

Aerospike

The BaseTask type exposes the following members.

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
See Also

Reference