#include <ReplayBuffer.h>
Public Member Functions | |
ReplayBuffer (PropertiesPtr &props, Comm *comm, const RangeServerRecovery::ReceiverPlan &plan, const String &location, int32_t plan_generation) | |
void | add (const TableIdentifier &table, SerializedKey &key, ByteString &value) |
size_t | memory_used () const |
void | set_current_fragment (uint32_t fragment_id) |
void | flush () |
Private Types | |
typedef map < QualifiedRangeSpec, RangeReplayBufferPtr > | ReplayBufferMap |
Private Attributes | |
Comm * | m_comm |
const RangeServerRecovery::ReceiverPlan & | m_plan |
ReplayBufferMap | m_buffer_map |
String | m_location |
int32_t | m_plan_generation {} |
size_t | m_memory_used {} |
size_t | m_flush_limit_aggregate {} |
size_t | m_flush_limit_per_range {} |
int32_t | m_timeout_ms {} |
uint32_t | m_fragment {} |
Definition at line 42 of file ReplayBuffer.h.
|
private |
Definition at line 63 of file ReplayBuffer.h.
ReplayBuffer::ReplayBuffer | ( | PropertiesPtr & | props, |
Comm * | comm, | ||
const RangeServerRecovery::ReceiverPlan & | plan, | ||
const String & | location, | ||
int32_t | plan_generation | ||
) |
Definition at line 32 of file ReplayBuffer.cc.
void ReplayBuffer::add | ( | const TableIdentifier & | table, |
SerializedKey & | key, | ||
ByteString & | value | ||
) |
Definition at line 57 of file ReplayBuffer.cc.
void ReplayBuffer::flush | ( | ) |
Definition at line 85 of file ReplayBuffer.cc.
|
inline |
Definition at line 51 of file ReplayBuffer.h.
|
inline |
Definition at line 53 of file ReplayBuffer.h.
|
private |
Definition at line 64 of file ReplayBuffer.h.
|
private |
Definition at line 61 of file ReplayBuffer.h.
|
private |
Definition at line 68 of file ReplayBuffer.h.
|
private |
Definition at line 69 of file ReplayBuffer.h.
|
private |
Definition at line 71 of file ReplayBuffer.h.
|
private |
Definition at line 65 of file ReplayBuffer.h.
|
private |
Definition at line 67 of file ReplayBuffer.h.
|
private |
Definition at line 62 of file ReplayBuffer.h.
|
private |
Definition at line 66 of file ReplayBuffer.h.
|
private |
Definition at line 70 of file ReplayBuffer.h.