Public Member Functions | |
virtual void | scan_ok (TableScannerAsync *scanner, ScanCellsPtr &cells) |
Callback method for successful scan. More... | |
virtual void | scan_error (TableScannerAsync *scanner, int error, const String &error_msg, bool eos) |
Callback method for scan errors. More... | |
virtual void | update_ok (TableMutatorAsync *mutator) |
Callback method for successful update. More... | |
virtual void | update_error (TableMutatorAsync *mutator, int error, FailedMutations &failedMutations) |
Callback method for update errors. More... | |
Public Member Functions inherited from Hypertable::ResultCallback | |
ResultCallback () | |
virtual | ~ResultCallback () |
virtual void | register_scanner (TableScannerAsync *scanner) |
Hook for derived classes which want to keep track of scanners/mutators. More... | |
virtual void | deregister_scanner (TableScannerAsync *scanner) |
Hook for derived classes which want to keep track of scanners/mutators. More... | |
virtual void | register_mutator (TableMutatorAsync *mutator) |
Hook for derived classes which want to keep track of scanners/mutators. More... | |
virtual void | deregister_mutator (TableMutatorAsync *mutator) |
Hook for derived classes which want to keep track of scanners/mutators. More... | |
virtual void | completed () |
Callback method for completion, default one does nothing. More... | |
void | wait_for_completion () |
Blocks till outstanding == 0. More... | |
void | increment_outstanding () |
void | decrement_outstanding () |
bool | is_done () |
Public Member Functions inherited from Hypertable::ClientObject | |
virtual | ~ClientObject () |
Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Hypertable::ResultCallback | |
int | m_outstanding {} |
std::mutex | m_outstanding_mutex |
std::condition_variable | m_outstanding_cond |
Definition at line 46 of file IndexUpdater.cc.
|
inlinevirtual |
Callback method for scan errors.
scanner | |
error | |
error_msg | |
eos | end of scan |
Implements Hypertable::ResultCallback.
Definition at line 49 of file IndexUpdater.cc.
|
inlinevirtual |
Callback method for successful scan.
scanner | |
cells | returned cells |
Implements Hypertable::ResultCallback.
Definition at line 48 of file IndexUpdater.cc.
|
inlinevirtual |
Callback method for update errors.
mutator | Mutator pointer |
error | error code |
failures | vector of failed mutations |
Implements Hypertable::ResultCallback.
Definition at line 52 of file IndexUpdater.cc.
|
inlinevirtual |
Callback method for successful update.
mutator |
Implements Hypertable::ResultCallback.
Definition at line 51 of file IndexUpdater.cc.