Decodes "get statistics" request and calls RangeServer::get_statistics(). More...
#include <GetStatistics.h>
Public Member Functions | |
GetStatistics (Comm *comm, Apps::RangeServer *rs, EventPtr &event) | |
Constructor. More... | |
virtual void | run () |
Decodes request and calls RangeServer::get_statistics(). More... | |
![]() | |
ApplicationHandler (EventPtr &event) | |
Constructor initializing from an Event object. More... | |
ApplicationHandler (bool urgent=false) | |
Default constructor with m_urgent flag initialization. More... | |
virtual | ~ApplicationHandler () |
Destructor. More... | |
uint64_t | get_group_id () |
Returns the group ID that this handler belongs to. More... | |
bool | is_urgent () |
Returns true if request is urgent. More... | |
bool | is_expired () |
Returns true if request has expired. More... | |
Private Attributes | |
Comm * | m_comm |
Pointer to Comm object. More... | |
Apps::RangeServer * | m_range_server |
Pointer to RangeServer object. More... | |
Additional Inherited Members | |
![]() | |
EventPtr | m_event |
MESSAGE Event from which handler was initialized. More... | |
bool | m_urgent |
Flag indicating if handler is urgent. More... | |
Decodes "get statistics" request and calls RangeServer::get_statistics().
Definition at line 47 of file GetStatistics.h.
|
inline |
Constructor.
comm | Pointer to Comm object |
rs | Pointer to RangeServer object |
event | Request event object |
Definition at line 55 of file GetStatistics.h.
|
virtual |
Decodes request and calls RangeServer::get_statistics().
This method decodes the request in the format:
Generation number of state variables (i64) Vector of state variable specs
Implements Hypertable::ApplicationHandler.
Definition at line 43 of file GetStatistics.cc.
|
private |
Pointer to Comm object.
Definition at line 70 of file GetStatistics.h.
|
private |
Pointer to RangeServer object.
Definition at line 73 of file GetStatistics.h.