#include <gridclientcommandexecutor.hpp>
Public Member Functions | |
| virtual | ~GridClientCommandExecutor () |
| virtual void | executeLogCmd (const GridClientSocketAddress &nodeHost, GridLogRequestCommand &logRequest, GridClientMessageLogResult &result)=0 |
| virtual void | executeTopologyCmd (const GridClientSocketAddress &nodeHost, GridTopologyRequestCommand &topologyRequest, GridClientMessageTopologyResult &result)=0 |
| virtual void | executeGetCacheCmd (const GridClientSocketAddress &nodeHost, GridCacheRequestCommand &cacheCmd, GridClientMessageCacheGetResult &result)=0 |
| virtual void | executeModifyCacheCmd (const GridClientSocketAddress &nodeHost, GridCacheRequestCommand &cacheCmd, GridClientMessageCacheModifyResult &result)=0 |
| virtual void | executeGetCacheMetricsCmd (const GridClientSocketAddress &nodeHost, GridCacheRequestCommand &cacheCmd, GridClientMessageCacheMetricResult &result)=0 |
| virtual void | executeTaskCmd (const GridClientSocketAddress &nodeHost, GridTaskRequestCommand &taskCmd, GridClientMessageTaskResult &result)=0 |
Generic command executor class. Currently is implemented with TCP and HTTP executors.
| virtual GridClientCommandExecutor::~GridClientCommandExecutor | ( | ) | [inline, virtual] |
Virtual destructor.
| virtual void GridClientCommandExecutor::executeGetCacheCmd | ( | const GridClientSocketAddress & | nodeHost, | |
| GridCacheRequestCommand & | cacheCmd, | |||
| GridClientMessageCacheGetResult & | result | |||
| ) | [pure virtual] |
Execute cache get command.
| nodeHost | Host/port to send command to. | |
| cacheCmd | Cache get request command. | |
| result | Cache get request result. |
Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.
| virtual void GridClientCommandExecutor::executeGetCacheMetricsCmd | ( | const GridClientSocketAddress & | nodeHost, | |
| GridCacheRequestCommand & | cacheCmd, | |||
| GridClientMessageCacheMetricResult & | result | |||
| ) | [pure virtual] |
Execute cache metrics command.
| nodeHost | Host/port to send command to. | |
| cacheCmd | Cache metrics request command. | |
| result | Cache metrics request result. |
Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.
| virtual void GridClientCommandExecutor::executeLogCmd | ( | const GridClientSocketAddress & | nodeHost, | |
| GridLogRequestCommand & | logRequest, | |||
| GridClientMessageLogResult & | result | |||
| ) | [pure virtual] |
Execute log command.
| nodeHost | Host/port to send command to. | |
| logRequest | Log request command. | |
| result | Log request result. |
Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.
| virtual void GridClientCommandExecutor::executeModifyCacheCmd | ( | const GridClientSocketAddress & | nodeHost, | |
| GridCacheRequestCommand & | cacheCmd, | |||
| GridClientMessageCacheModifyResult & | result | |||
| ) | [pure virtual] |
Execute cache modify command.
| nodeHost | Host/port to send command to. | |
| cacheCmd | Cache modify request command. | |
| result | Cache modify request result. |
Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.
| virtual void GridClientCommandExecutor::executeTaskCmd | ( | const GridClientSocketAddress & | nodeHost, | |
| GridTaskRequestCommand & | taskCmd, | |||
| GridClientMessageTaskResult & | result | |||
| ) | [pure virtual] |
Execute task command.
| nodeHost | Host/port to send command to. | |
| taskCmd | task request command. | |
| result | task request result. |
Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.
| virtual void GridClientCommandExecutor::executeTopologyCmd | ( | const GridClientSocketAddress & | nodeHost, | |
| GridTopologyRequestCommand & | topologyRequest, | |||
| GridClientMessageTopologyResult & | result | |||
| ) | [pure virtual] |
Execute topology command.
| nodeHost | Host/port to send command to. | |
| topologyRequest | Topology request command. | |
| result | Topology request result. |
Implemented in GridClientHttpCommandExecutor, and GridClientTcpCommandExecutor.
1.7.1