Represents results from asynchronous table scan operations.

Namespace: Hypertable
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class BlockingAsyncResult : AsyncResult
Public Class BlockingAsyncResult _
	Inherits AsyncResult
public ref class BlockingAsyncResult : public AsyncResult

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
BlockingAsyncResult()()()()
Initializes a new instance of the BlockingAsyncResult class.
BlockingAsyncResult(UInt32)
Initializes a new instance of the BlockingAsyncResult class using the specified capacity.
AsyncState
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
(Inherited from AsyncResult.)
AsyncWaitHandle
Gets a WaitHandle that is used to wait for an asynchronous operation to complete.
(Inherited from AsyncResult.)
Cancel()()()()
Cancels any outstanding asynchronous operations.
(Inherited from AsyncResult.)
CancelAsyncMutator(AsyncMutatorContext)
Cancels an asynchronous mutator.
(Inherited from AsyncResult.)
CancelAsyncScanner(AsyncScannerContext)
Cancels an asynchronous scanner.
(Inherited from AsyncResult.)
CompletedSynchronously
Gets a value that indicates whether the asynchronous operation completed synchronously.
(Inherited from AsyncResult.)
Dispose()()()()
Clean up all managed and unmanaged resources.
(Inherited from AsyncResult.)
Dispose(Boolean) (Inherited from AsyncResult.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Error
Gets a value indicating which error occurred during an asynchronous operation.
(Inherited from AsyncResult.)
Finalize()()()()
Clean up all unmanaged resources.
(Inherited from AsyncResult.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsCancelled
Gets a value that indicates whether the asynchronous operation has cancelled.
(Inherited from AsyncResult.)
IsCompleted
Gets a value that indicates whether the asynchronous operation has completed.
(Inherited from AsyncResult.)
IsDisposed
Gets a value indicating whether the object has been disposed.
(Inherited from AsyncResult.)
Join()()()()
Blocks the calling thread until the asynchronous operation has completed.
(Inherited from AsyncResult.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ScannerCallback
Gets the scanner callback.
(Inherited from AsyncResult.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
TryGetCells(IList<(Of <<'(Cell>)>>)%)
Gets the available cells, blocks the calling thread till there is a result available unless asynchronous operations have completed or cancelled.
TryGetCells(TimeSpan, IList<(Of <<'(Cell>)>>)%)
Gets the available cells, blocks the calling thread till there is a result available unless asynchronous operations have completed, cancelled or a timeout occurs.
TryGetCells(AsyncScannerContext%, IList<(Of <<'(Cell>)>>)%)
Gets the available cells, blocks the calling thread till there is a result available unless asynchronous operations have completed or cancelled.
TryGetCells(TimeSpan, AsyncScannerContext%, IList<(Of <<'(Cell>)>>)%)
Gets the available cells, blocks the calling thread till there is a result available unless asynchronous operations have completed, cancelled or a timeout occurs.

Examples

The following example shows how to scan a multiple tables asynchronously.
CopyC#
using( var asynResult = new BlockingAsyncResult() ) {
   tableA.BeginScan(asynResult);
   tableB.BeginScan(asynResult);
   AsyncScannerContext asyncScannerContext;
   IList<Cell> cells;
   while( asynResult.TryGetCells(out asyncScannerContext, out cells) ) {
      foreach( Cell cell in cells ) {
         // process cell
      }
   }
}

Inheritance Hierarchy

System..::..Object
  Hypertable..::..AsyncResult
    Hypertable..::..BlockingAsyncResult

See Also