0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
Hypertable::DispatchHandlerOperationGetStatistics Class Reference

#include <DispatchHandlerOperationGetStatistics.h>

Inheritance diagram for Hypertable::DispatchHandlerOperationGetStatistics:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::DispatchHandlerOperationGetStatistics:
Collaboration graph
[legend]

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::Specm_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...
 

Detailed Description

Definition at line 35 of file DispatchHandlerOperationGetStatistics.h.

Constructor & Destructor Documentation

DispatchHandlerOperationGetStatistics::DispatchHandlerOperationGetStatistics ( ContextPtr context)

Definition at line 35 of file DispatchHandlerOperationGetStatistics.cc.

Member Function Documentation

void DispatchHandlerOperationGetStatistics::initialize ( std::vector< RangeServerStatistics > &  results)

Definition at line 39 of file DispatchHandlerOperationGetStatistics.cc.

void DispatchHandlerOperationGetStatistics::result_callback ( const EventPtr event)
virtual

Post-request hook method.

This method can be overridden by derived classes to do post-processing on each request result.

Parameters
eventResponse event

Reimplemented from Hypertable::DispatchHandlerOperation.

Definition at line 59 of file DispatchHandlerOperationGetStatistics.cc.

void DispatchHandlerOperationGetStatistics::start ( const String location)
virtual

Method overridden in derived class for issuing requests.

Parameters
locationProxy name of server to issue request.

Implements Hypertable::DispatchHandlerOperation.

Definition at line 52 of file DispatchHandlerOperationGetStatistics.cc.

Member Data Documentation

uint64_t Hypertable::DispatchHandlerOperationGetStatistics::m_generation
private

Definition at line 46 of file DispatchHandlerOperationGetStatistics.h.

SockAddrMap<RangeServerStatistics *> Hypertable::DispatchHandlerOperationGetStatistics::m_index
private

Definition at line 44 of file DispatchHandlerOperationGetStatistics.h.

std::vector<SystemVariable::Spec> Hypertable::DispatchHandlerOperationGetStatistics::m_specs
private

Definition at line 45 of file DispatchHandlerOperationGetStatistics.h.

Timer Hypertable::DispatchHandlerOperationGetStatistics::m_timer
private

Definition at line 43 of file DispatchHandlerOperationGetStatistics.h.


The documentation for this class was generated from the following files: