Grid client API. More...
Inherited by GridGain.Client.Impl.GridClientImpl.
Public Member Functions | |
| IGridClientData | Data () |
Gets a data projection for a default grid cache with null name. | |
| IGridClientData | Data (String cacheName) |
Gets a data projection for grid cache with name cacheName. If no data configuration with given name was provided at client startup, an exception will be thrown. | |
| IGridClientCompute | Compute () |
| Gets a default compute projection. Default compute projection will include all nodes in remote grid. Selection of node that will be connected to perform operations will be done according to Balancer.IGridClientLoadBalancer provided in client configuration or according to affinity if projection call involves affinity key. More restricted projection configurations may be created with IGridClientCompute methods. | |
| void | AddTopologyListener (IGridClientTopologyListener lsnr) |
| Adds topology listener. Remote grid topology is refreshed every IGridClientConfiguration.TopologyRefreshFrequency milliseconds. If any node was added or removed, a listener will be notified. | |
| void | RemoveTopologyListener (IGridClientTopologyListener lsnr) |
| Removes previously added topology listener. | |
| ICollection < IGridClientTopologyListener > | TopologyListeners () |
| Gets an unmodifiable snapshot of topology listeners list. | |
Properties | |
| Guid | Id [get] |
| Gets a unique client identifier. This identifier is generated by factory on client creation and used in identification and authentication procedure on server node. | |
| void GridGain.Client.IGridClient.AddTopologyListener | ( | IGridClientTopologyListener | lsnr | ) |
| lsnr | Listener to add. |
| IGridClientCompute GridGain.Client.IGridClient.Compute | ( | ) |
| IGridClientData GridGain.Client.IGridClient.Data | ( | String | cacheName | ) |
| cacheName | Grid cache name for which data projection should be obtained. |
cacheName.| GridClientException | If client was closed or no configuration with given name was provided. |
| IGridClientData GridGain.Client.IGridClient.Data | ( | ) |
null name.| GridClientException | If client was closed. |
| void GridGain.Client.IGridClient.RemoveTopologyListener | ( | IGridClientTopologyListener | lsnr | ) |
| lsnr | Listener to remove. |
| ICollection<IGridClientTopologyListener> GridGain.Client.IGridClient.TopologyListeners | ( | ) |
Guid GridGain.Client.IGridClient.Id [get] |
1.7.1