22 #ifndef Hypertable_RangeServer_ReplayDispatchHandler_h
23 #define Hypertable_RangeServer_ReplayDispatchHandler_h
31 #include <condition_variable>
43 int plan_generation, int32_t timeout_ms) :
44 m_rsclient(comm, timeout_ms), m_recover_location(location),
45 m_plan_generation(plan_generation) { }
47 virtual void handle(
EventPtr &event);
52 void wait_for_completion();
61 int m_plan_generation {};
62 size_t m_outstanding {};
66 #endif // Hypertable_RangeServer_ReplayDispatchHandler_h
A memory buffer of static size.
ReplayDispatchHandler(Comm *comm, const String &location, int plan_generation, int32_t timeout_ms)
std::string String
A String is simply a typedef to std::string.
Abstract base class for application dispatch handlers registered with AsyncComm.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
Declarations for RangeServerClient.
void add(const Key &key, uint8_t flag, const void *value, uint32_t value_len, TableMutatorAsync *value_index_mutator, TableMutatorAsync *qualifier_index_mutator)
Declarations for DispatchHandler.
Declarations for QualifiedRangeSpec and QualifiedRangeSpecManaged.
String m_recover_location
std::condition_variable m_cond
Entry point to AsyncComm service.
Client interface to RangeServer.
Qualified (with table identifier) range specification.
Address abstraction to hold either proxy name or IPv4:port address.
RangeServer::Client m_rsclient