0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
Hypertable::IndexUpdaterCallback Class Reference
Inheritance diagram for Hypertable::IndexUpdaterCallback:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::IndexUpdaterCallback:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 46 of file IndexUpdater.cc.

Member Function Documentation

virtual void Hypertable::IndexUpdaterCallback::scan_error ( TableScannerAsync scanner,
int  error,
const String error_msg,
bool  eos 
)
inlinevirtual

Callback method for scan errors.

Parameters
scanner
error
error_msg
eosend of scan

Implements Hypertable::ResultCallback.

Definition at line 49 of file IndexUpdater.cc.

virtual void Hypertable::IndexUpdaterCallback::scan_ok ( TableScannerAsync scanner,
ScanCellsPtr cells 
)
inlinevirtual

Callback method for successful scan.

Parameters
scanner
cellsreturned cells

Implements Hypertable::ResultCallback.

Definition at line 48 of file IndexUpdater.cc.

virtual void Hypertable::IndexUpdaterCallback::update_error ( TableMutatorAsync mutator,
int  error,
FailedMutations failures 
)
inlinevirtual

Callback method for update errors.

Parameters
mutatorMutator pointer
errorerror code
failuresvector of failed mutations

Implements Hypertable::ResultCallback.

Definition at line 52 of file IndexUpdater.cc.

virtual void Hypertable::IndexUpdaterCallback::update_ok ( TableMutatorAsync mutator)
inlinevirtual

Callback method for successful update.

Parameters
mutator

Implements Hypertable::ResultCallback.

Definition at line 51 of file IndexUpdater.cc.


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