List of all members.
Detailed Description
C++ client API.
Constructor & Destructor Documentation
| virtual GridClient::~GridClient |
( |
|
) |
[inline, virtual] |
Member Function Documentation
| virtual void GridClient::addTopologyListener |
( |
TGridClientTopologyListenerPtr |
lsnr |
) |
[pure virtual] |
| virtual TGridClientComputePtr GridClient::compute |
( |
|
) |
[pure virtual] |
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 GridClientLoadBalancer provided in client configuration or according to affinity if projection call involves affinity key.
More restricted projection configurations may be created with GridClientCompute methods.
- Returns:
- Default compute projection.
- See also:
- GridClientCompute
| virtual TGridClientDataPtr GridClient::data |
( |
|
) |
[pure virtual] |
Gets a data projection for a default grid cache with null name.
- Returns:
- Data projection for grid cache with
null name.
- Exceptions:
-
| virtual TGridClientDataPtr GridClient::data |
( |
const std::string & |
cacheName |
) |
[pure virtual] |
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.
- Parameters:
-
| cacheName | Grid cache name for which data projection should be obtained. |
- Returns:
- Data projection for grid cache with name
cacheName.
- Exceptions:
-
Gets a unique client identifier. This identifier is generated by factory on client creation and used in identification and authentication procedure on server node.
- Returns:
- Generated client id.
| virtual void GridClient::removeTopologyListener |
( |
TGridClientTopologyListenerPtr |
lsnr |
) |
[pure virtual] |
Removes previously added topology listener.
- Parameters:
-
| virtual TGridClientTopologyListenerListPtr GridClient::topologyListeners |
( |
|
) |
const [pure virtual] |
- Returns:
- Copy of the topology listeners list.
The documentation for this class was generated from the following file: