27 #ifndef Hypertable_Lib_TableMutatorAsyncScatterBuffer_h
28 #define Hypertable_Lib_TableMutatorAsyncScatterBuffer_h
49 #include <condition_variable>
75 uint32_t value_len,
size_t incr_mem);
79 void send(uint32_t flags);
143 #endif // Hypertable_Lib_TableMutatorAsyncScatterBuffer_h
void set_retries_to_fail(int error)
TableMutatorAsyncScatterBuffer(Comm *comm, ApplicationQueueInterfacePtr &app_queue, TableMutatorAsync *mutator, const TableIdentifier *, SchemaPtr &, RangeLocatorPtr &, bool auto_refresh, uint32_t timeout_ms, uint32_t id)
void set_memory_used(size_t mem)
RangeLocatorPtr m_range_locator
int set_failed_mutations()
CommAddressMap< TableMutatorAsyncSendBufferPtr > TableMutatorAsyncSendBufferMap
void get_failed_mutations(FailedMutations &failed_mutations)
void set(const Key &, const ColumnFamilySpec *cf, const void *value, uint32_t value_len, size_t incr_mem)
TableMutatorAsync * m_mutator
std::shared_ptr< RangeLocator > RangeLocatorPtr
Smart pointer to RangeLocator.
size_t get_failure_count()
void send(uint32_t flags)
std::shared_ptr< TableMutatorAsyncScatterBuffer > TableMutatorAsyncScatterBufferPtr
Smart pointer to TableMutatorAsyncScatterBuffer.
Column family specification.
Declarations for CommAddress.
TableMutatorAsyncSendBufferMap m_buffer_map
The Flyweight string set stores duplicate strings efficiently.
FlyweightString m_constant_strings
Declarations for RangeServerClient.
A dynamic, resizable and reference counted memory buffer.
uint64_t get_resend_count()
std::shared_ptr< LocationCache > LocationCachePtr
Smart pointer to LocationCache.
size_t memory_used() const
Returns the amount of memory used by the collected mutations.
Tracks outstanding RangeServer update requests.
A class managing one or more serializable ByteStrings.
CommAddressSet m_unsynced_rangeservers
Provides the ability to mutate a table in the form of adding and deleting rows and cells...
Wrapper for TableIdentifier providing member storage.
void refresh_schema(const TableIdentifier &table_id, SchemaPtr &schema)
uint32_t m_server_flush_limit
A timer class to keep timeout states across AsyncComm related calls.
ApplicationQueueInterfacePtr m_app_queue
FailedMutations m_failed_mutations
std::shared_ptr< ApplicationQueueInterface > ApplicationQueueInterfacePtr
Smart pointer to ApplicationQueueInterface.
uint32_t get_send_flags() const
std::condition_variable m_cond
TableMutatorAsyncScatterBufferPtr create_redo_buffer(uint32_t id)
DynamicBuffer m_counter_value
std::set< CommAddress > CommAddressSet
Set of CommAddress objects.
Entry point to AsyncComm service.
LocationCachePtr m_location_cache
TableMutatorAsyncCompletionCounter m_completion_counter
Provides access to internal components of opaque key.
Client interface to RangeServer.
static const uint32_t ms_init_redo_wait_time
Internet address wrapper classes and utility functions.
A timer class to keep timeout states across AsyncComm related calls.
void wait_for_completion()
A serializable ByteString.
TableIdentifierManaged m_table_identifier
std::shared_ptr< Schema > SchemaPtr
Smart pointer to Schema.
void set_delete(const Key &key, size_t incr_mem)
Declarations for ApplicationQueueInterface.
Lib::RangeServer::Client m_range_server
const CommAddressSet & get_unsynced_rangeservers()
virtual ~TableMutatorAsyncScatterBuffer()
String extensions and helpers: sets, maps, append operators etc.
std::vector< FailedMutation > FailedMutations