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::DispatchHandlerOperationCompact Class Reference

Dispatch handler to aggregate a set of RangeServer::compact results. More...

#include <DispatchHandlerOperationCompact.h>

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

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

Detailed Description

Dispatch handler to aggregate a set of RangeServer::compact results.

Definition at line 44 of file DispatchHandlerOperationCompact.h.

Constructor & Destructor Documentation

Hypertable::DispatchHandlerOperationCompact::DispatchHandlerOperationCompact ( ContextPtr context,
const TableIdentifier table,
const String row,
uint32_t  range_types 
)
inline

Constructor.

Parameters
contextMaster context
tableTable identifier of table to be compacted
rowRow key of range to compact
range_typesRange type specification (see RangeServerProtocol::RangeType)

Definition at line 54 of file DispatchHandlerOperationCompact.h.

Member Function Documentation

virtual void Hypertable::DispatchHandlerOperationCompact::start ( const String location)
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.

Parameters
locationProxy name of range server at which to issue request

Implements Hypertable::DispatchHandlerOperation.

Definition at line 65 of file DispatchHandlerOperationCompact.h.

Member Data Documentation

uint32_t Hypertable::DispatchHandlerOperationCompact::m_range_types
private

Range type specification (see RangeServerProtocol::RangeType)

Definition at line 80 of file DispatchHandlerOperationCompact.h.

String Hypertable::DispatchHandlerOperationCompact::m_row
private

Row key of range to compact.

Definition at line 77 of file DispatchHandlerOperationCompact.h.

TableIdentifierManaged Hypertable::DispatchHandlerOperationCompact::m_table
private

Table identifier of table to be compacted

Definition at line 74 of file DispatchHandlerOperationCompact.h.


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