This class is a DispatchHandler class that is used for collecting asynchronous commit log sync requests.
More...
#include <TableMutatorSyncDispatchHandler.h>
This class is a DispatchHandler class that is used for collecting asynchronous commit log sync requests.
Definition at line 52 of file TableMutatorSyncDispatchHandler.h.
TableMutatorSyncDispatchHandler::TableMutatorSyncDispatchHandler |
( |
Comm * |
comm, |
|
|
TableIdentifierManaged & |
table_id, |
|
|
time_t |
timeout |
|
) |
| |
TableMutatorSyncDispatchHandler::~TableMutatorSyncDispatchHandler |
( |
| ) |
|
void TableMutatorSyncDispatchHandler::add |
( |
const CommAddress & |
addr | ) |
|
void TableMutatorSyncDispatchHandler::get_errors |
( |
vector< ErrorResult > & |
errors | ) |
|
void TableMutatorSyncDispatchHandler::handle |
( |
EventPtr & |
event_ptr | ) |
|
|
virtual |
Dispatch method.
This gets called by the AsyncComm layer when an event occurs in response to a previously sent request that was supplied with this dispatch handler.
- Parameters
-
event_ptr | shared pointer to event object |
Implements Hypertable::DispatchHandler.
Definition at line 66 of file TableMutatorSyncDispatchHandler.cc.
void TableMutatorSyncDispatchHandler::retry |
( |
| ) |
|
bool TableMutatorSyncDispatchHandler::wait_for_completion |
( |
| ) |
|
std::condition_variable Hypertable::TableMutatorSyncDispatchHandler::m_cond |
|
private |
vector<ErrorResult> Hypertable::TableMutatorSyncDispatchHandler::m_errors |
|
private |
std::mutex Hypertable::TableMutatorSyncDispatchHandler::m_mutex |
|
private |
int Hypertable::TableMutatorSyncDispatchHandler::m_outstanding {} |
|
private |
The documentation for this class was generated from the following files: