Public Member Functions | Properties

GridGain.Client.Impl.GridClientImpl Class Reference

Client implementation. More...

Inherits GridGain::Client::IGridClient, and GridGain::Client::Impl::IGridClientProjectionConfig.

List of all members.

Public Member Functions

 GridClientImpl (Guid id, IGridClientConfiguration cfg0)
 Creates a new client based on a given configuration.
void stop (bool waitCompletion)
 Closes client.
IGridClientData Data ()
IGridClientData Data (String cacheName)
IGridClientCompute Compute ()
void AddTopologyListener (IGridClientTopologyListener lsnr)
void RemoveTopologyListener (IGridClientTopologyListener lsnr)
ICollection
< IGridClientTopologyListener > 
TopologyListeners ()
IGridClientDataAffinity Affinity (String cacheName)
 Gets data affinity for a given cache name.
override String ToString ()

Properties

Guid Id [get, set]
GridClientConnectionManager ConnectionManager [get]
 Connections manager.
GridClientTopology Topology [get]
 Topology instance.

Detailed Description


Constructor & Destructor Documentation

GridGain.Client.Impl.GridClientImpl.GridClientImpl ( Guid  id,
IGridClientConfiguration  cfg0 
)
Parameters:
id Client identifier.
cfg0 Client configuration.
Exceptions:
GridClientException If client configuration is incorrect.
GridClientServerUnreachableException If none of the servers specified in configuration can be reached.

Member Function Documentation

void GridGain.Client.Impl.GridClientImpl.AddTopologyListener ( IGridClientTopologyListener  lsnr  ) 

<inheritdoc>

IGridClientDataAffinity GridGain.Client.Impl.GridClientImpl.Affinity ( String  cacheName  ) 
Parameters:
cacheName Name of cache for which affinity is obtained. Data configuration with this name

must be configured at client startup.

Returns:
Data affinity object.
Exceptions:
ArgumentException If client data with given name was not configured.

Implements GridGain.Client.Impl.IGridClientProjectionConfig.

IGridClientCompute GridGain.Client.Impl.GridClientImpl.Compute (  ) 

<inheritdoc>

IGridClientData GridGain.Client.Impl.GridClientImpl.Data (  ) 

<inheritdoc>

IGridClientData GridGain.Client.Impl.GridClientImpl.Data ( String  cacheName  ) 

<inheritdoc>

void GridGain.Client.Impl.GridClientImpl.RemoveTopologyListener ( IGridClientTopologyListener  lsnr  ) 

<inheritdoc>

void GridGain.Client.Impl.GridClientImpl.stop ( bool  waitCompletion  ) 
Parameters:
waitCompletion If true will wait for all pending requests to be proceeded.
ICollection<IGridClientTopologyListener> GridGain.Client.Impl.GridClientImpl.TopologyListeners (  ) 

<inheritdoc>

override String GridGain.Client.Impl.GridClientImpl.ToString (  ) 

<inheritdoc>


Property Documentation

GridClientConnectionManager GridGain.Client.Impl.GridClientImpl.ConnectionManager [get]
Guid GridGain.Client.Impl.GridClientImpl.Id [get, set]

<inheritdoc>

GridClientTopology GridGain.Client.Impl.GridClientImpl.Topology [get]