22 #ifndef Hypertable_Lib_TableMutatorAsyncSendBuffer_h
23 #define Hypertable_Lib_TableMutatorAsyncSendBuffer_h
48 void add_retries(uint32_t count, uint32_t offset, uint32_t len) {
66 failed.
error=(int) error;
74 void add_errors(
int error, uint32_t count, uint32_t offset, uint32_t len) {
85 failed.
error = (int)error;
129 #endif // Hypertable_Lib_TableMutatorAsyncSendBuffer_h
A memory buffer of static size.
void add_errors_all(uint32_t error)
void add_retries_all(bool with_error=false, uint32_t error=0)
std::vector< String > errors
void add_retries(uint32_t count, uint32_t offset, uint32_t len)
StaticBuffer pending_updates
void get_failed_regions(std::vector< FailedRegionAsync > &errors)
bool invalidate(const TableIdentifier *table, const char *row_key)
Invalidates the cached entry for the given row key.
A dynamic, resizable and reference counted memory buffer.
Tracks outstanding RangeServer update requests.
std::shared_ptr< TableMutatorAsyncSendBuffer > TableMutatorAsyncSendBufferPtr
Smart pointer to TableMutatorAsyncSendBuffer.
TableMutatorAsyncCompletionCounter * counterp
uint8_t * add(const void *data, size_t len)
Adds more data WITH boundary checks; if required the buffer is resized and existing data is preserved...
std::vector< uint64_t > key_offsets
void free()
Clears the data; if this object is owner of the data then the allocated buffer is delete[]d...
RangeLocator * m_range_locator
const TableIdentifier * m_table_identifier
TableMutatorAsyncSendBuffer(const TableIdentifier *tid, TableMutatorAsyncCompletionCounter *counterp_, RangeLocator *rl)
void clear()
Clears the buffer.
DispatchHandlerPtr dispatch_handler
Locates containing range given a key.
std::shared_ptr< DispatchHandler > DispatchHandlerPtr
Smart pointer to DispatchHandler.
std::vector< FailedRegionAsync > failed_regions
void add_errors(int error, uint32_t count, uint32_t offset, uint32_t len)
Address abstraction to hold either proxy name or IPv4:port address.