29 #ifndef Hypertable_Master_DispatchHandlerOperationToggleTableMaintenance_h
30 #define Hypertable_Master_DispatchHandlerOperationToggleTableMaintenance_h
83 #endif // Hypertable_Master_DispatchHandlerOperationToggleTableMaintenance_h
bool m_toggle_on
Flag indicating if maintenance is to be toggled on or off.
DispatchHandlerOperationToggleTableMaintenance(ContextPtr &context, const TableIdentifier &table, bool toggle_on)
Constructor.
std::string String
A String is simply a typedef to std::string.
void table_maintenance_enable(const CommAddress &addr, const TableIdentifier &table, DispatchHandler *handler)
Issues an asynchronous RangeServer::table_maintenance_enable().
TableIdentifierManaged m_table
Table identifier of table for which maintenance is to be toggled
Declarations for CommAddress.
void table_maintenance_disable(const CommAddress &addr, const TableIdentifier &table, DispatchHandler *handler)
Issues an asynchronous RangeServer::table_maintenance_disable() request.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
Wrapper for TableIdentifier providing member storage.
DispatchHandler class for managing async RangeServer requests.
Dispatch handler for either enabling or disabling table maintenance by issuing requests to range serv...
Declarations for DispatchHandlerOperation.
void set_proxy(const String &str)
Sets address type to CommAddress::PROXY and proxy name to p.
RangeServer::Client m_rsclient
Range server client object
virtual void start(const String &location)
Asynchronously issues table maintenance enable or disable request.
Address abstraction to hold either proxy name or IPv4:port address.