Public Member Functions | Properties | List of all members
GridGain.Common.IAsyncSupport< out out TWithAsync > Interface Template Reference

Allows to enable asynchronous mode on Grid APIs. More...

Public Member Functions

TWithAsync WithAsync ()
 Gets component with asynchronous mode enabled. More...
 
IFuture GetFuture ()
 Gets and resets future for previous asynchronous operation. More...
 
IFuture< TResult > GetFuture< TResult > ()
 Gets and resets future for previous asynchronous operation. More...
 

Properties

bool IsAsync [get]
 Gets a value indicating whether this instance is in asynchronous mode. More...
 

Detailed Description

Template Parameters
TWithAsyncType of WithAsync method result.
Type Constraints
TWithAsync :IAsyncSupport<TWithAsync> 

Member Function Documentation

IFuture GridGain.Common.IAsyncSupport< out out TWithAsync >.GetFuture ( )
Returns
Future for previous asynchronous operation.
IFuture<TResult> GridGain.Common.IAsyncSupport< out out TWithAsync >.GetFuture< TResult > ( )
Returns
Future for previous asynchronous operation.
TWithAsync GridGain.Common.IAsyncSupport< out out TWithAsync >.WithAsync ( )
Returns
Component with asynchronous mode enabled.

Property Documentation

bool GridGain.Common.IAsyncSupport< out out TWithAsync >.IsAsync
get

true if asynchronous mode is enabled.