#include <gridclientimpl.hpp>
List of all members.
Detailed Description
Client implementation.
Member Typedef Documentation
Typedef for link to the main data projection.
Constructor & Destructor Documentation
Public constructor.
- Parameters:
-
| cfg | Client configuration. |
| exec | Executor of the commands. |
Public constructor.
Member Function Documentation
| virtual void GridClientImpl::addTopologyListener |
( |
TGridClientTopologyListenerPtr |
lsnr |
) |
[virtual] |
| virtual TGridClientComputePtr GridClientImpl::compute |
( |
|
) |
[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 GridClientImpl::data |
( |
|
) |
[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 GridClientImpl::data |
( |
const std::string & |
cacheName |
) |
[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:
-
| TGridClientSharedDataPtr GridClientImpl::getSharedData |
( |
|
) |
const [inline, protected] |
Returns the client shared data.
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.
| void GridClientImpl::onNodeIoFailed |
( |
const GridClientNode & |
n |
) |
[virtual] |
| virtual void GridClientImpl::removeTopologyListener |
( |
TGridClientTopologyListenerPtr |
lsnr |
) |
[virtual] |
Removes previously added topology listener.
- Parameters:
-
| virtual void GridClientImpl::stop |
( |
bool |
waitCompletion = true |
) |
[virtual] |
Closes client.
- Parameters:
-
| waitCompletion | If truewill wait for all pending requests to be proceeded. |
| virtual TGridClientTopologyListenerListPtr GridClientImpl::topologyListeners |
( |
|
) |
const [virtual] |
Gets an unmodifiable snapshot of topology listeners list.
- Returns:
- List of topology listeners.
Friends And Related Function Documentation
friend class GridClientTopologyRefresher [friend] |
GridClientTopologyRefresher may call non-public methods.
Member Data Documentation
The link to the main compute projection.
The link to the main data projection.
The documentation for this class was generated from the following files: