#include <DispatchHandlerOperationGetStatistics.h>
Public Member Functions | |
DispatchHandlerOperationGetStatistics (ContextPtr &context) | |
void | initialize (std::vector< RangeServerStatistics > &results) |
virtual void | start (const String &location) |
Method overridden in derived class for issuing requests. More... | |
virtual void | result_callback (const EventPtr &event) |
Post-request hook method. More... | |
Public Member Functions inherited from Hypertable::DispatchHandlerOperation | |
DispatchHandlerOperation (ContextPtr &context) | |
Constructor. More... | |
void | start (StringSet &locations) |
Starts asynchronous request. More... | |
virtual void | handle (EventPtr &event) |
Process response event. More... | |
bool | wait_for_completion () |
Waits for requests to complete. More... | |
void | process_events () |
Processes m_events set. More... | |
void | get_results (std::set< Result > &results) |
Returns the Result set. More... | |
Public Member Functions inherited from Hypertable::DispatchHandler | |
virtual | ~DispatchHandler () |
Destructor. More... | |
Private Attributes | |
Timer | m_timer |
SockAddrMap < RangeServerStatistics * > | m_index |
std::vector< SystemVariable::Spec > | m_specs |
uint64_t | m_generation |
Additional Inherited Members | |
Protected Attributes inherited from Hypertable::DispatchHandlerOperation | |
ContextPtr | m_context |
Master context More... | |
RangeServer::Client | m_rsclient |
Range server client object More... | |
Definition at line 35 of file DispatchHandlerOperationGetStatistics.h.
DispatchHandlerOperationGetStatistics::DispatchHandlerOperationGetStatistics | ( | ContextPtr & | context | ) |
Definition at line 35 of file DispatchHandlerOperationGetStatistics.cc.
void DispatchHandlerOperationGetStatistics::initialize | ( | std::vector< RangeServerStatistics > & | results | ) |
Definition at line 39 of file DispatchHandlerOperationGetStatistics.cc.
|
virtual |
Post-request hook method.
This method can be overridden by derived classes to do post-processing on each request result.
event | Response event |
Reimplemented from Hypertable::DispatchHandlerOperation.
Definition at line 59 of file DispatchHandlerOperationGetStatistics.cc.
|
virtual |
Method overridden in derived class for issuing requests.
location | Proxy name of server to issue request. |
Implements Hypertable::DispatchHandlerOperation.
Definition at line 52 of file DispatchHandlerOperationGetStatistics.cc.
|
private |
Definition at line 46 of file DispatchHandlerOperationGetStatistics.h.
|
private |
Definition at line 44 of file DispatchHandlerOperationGetStatistics.h.
|
private |
Definition at line 45 of file DispatchHandlerOperationGetStatistics.h.
|
private |
Definition at line 43 of file DispatchHandlerOperationGetStatistics.h.