Dispatch handler to aggregate a set of RangeServer::compact results. More...
#include <DispatchHandlerOperationCompact.h>


Public Member Functions | |
| DispatchHandlerOperationCompact (ContextPtr &context, const TableIdentifier &table, const String &row, uint32_t range_types) | |
| Constructor. More... | |
| virtual void | start (const String &location) |
| Asynchronously issues compact request. More... | |
Public Member Functions inherited from Hypertable::DispatchHandlerOperation | |
| DispatchHandlerOperation (ContextPtr &context) | |
| Constructor. More... | |
| void | start (StringSet &locations) |
| Starts asynchronous request. More... | |
| virtual void | result_callback (const EventPtr &event) |
| Post-request hook method. 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 | |
| TableIdentifierManaged | m_table |
| Table identifier of table to be compacted More... | |
| String | m_row |
| Row key of range to compact. More... | |
| uint32_t | m_range_types |
| Range type specification (see RangeServerProtocol::RangeType) More... | |
Additional Inherited Members | |
Protected Attributes inherited from Hypertable::DispatchHandlerOperation | |
| ContextPtr | m_context |
| Master context More... | |
| RangeServer::Client | m_rsclient |
| Range server client object More... | |
Dispatch handler to aggregate a set of RangeServer::compact results.
Definition at line 44 of file DispatchHandlerOperationCompact.h.
|
inline |
Constructor.
| context | Master context |
| table | Table identifier of table to be compacted |
| row | Row key of range to compact |
| range_types | Range type specification (see RangeServerProtocol::RangeType) |
Definition at line 54 of file DispatchHandlerOperationCompact.h.
|
inlinevirtual |
Asynchronously issues compact request.
This method asynchronously issues a RangeServer::compact request to the server specified by location. It supplies self as the dispatch handler.
| location | Proxy name of range server at which to issue request |
Implements Hypertable::DispatchHandlerOperation.
Definition at line 65 of file DispatchHandlerOperationCompact.h.
|
private |
Range type specification (see RangeServerProtocol::RangeType)
Definition at line 80 of file DispatchHandlerOperationCompact.h.
|
private |
Row key of range to compact.
Definition at line 77 of file DispatchHandlerOperationCompact.h.
|
private |
Table identifier of table to be compacted
Definition at line 74 of file DispatchHandlerOperationCompact.h.
1.8.8