Public Member Functions | Properties

GridGain.Client.Util.GridClientFuture< T > Class Template Reference

Future generic implementation. More...

Inherits GridGain::Client::Util::GridClientFuture, and GridGain::Client::IGridClientFuture.

List of all members.

Public Member Functions

override void Done (Object res)
 Callback to notify that future is finished successfully.
void Done (T res)
 Callback to notify that future is finished successfully.

Properties

Func< Object, T > DoneConverter [get, set]
 Successfull done converter from object to expected type.
T Result [get]
 Synchronously waits for task completion and returns execution result.

Detailed Description

template<T>
class GridGain::Client::Util::GridClientFuture-g< T >


Member Function Documentation

template<T >
override void GridGain.Client.Util.GridClientFuture< T >.Done ( Object  res  ) 
Parameters:
res Result (can be null).
template<T >
void GridGain.Client.Util.GridClientFuture< T >.Done ( T  res  ) 
Parameters:
res Result (can be null).

Property Documentation

template<T >
Func<Object, T> GridGain.Client.Util.GridClientFuture< T >.DoneConverter [get, set]
template<T >
T GridGain.Client.Util.GridClientFuture< T >.Result [get]
Exceptions:
GridClientException If task execution fails with exception.