RangeServer recovery plan.
More...
#include <Plan.h>
|
| Plan () |
|
| Plan (int type_) |
|
void | clear () |
|
virtual size_t | encoded_length () const |
| Returns serialized object length. More...
|
|
virtual void | encode (uint8_t **bufp) const |
| Writes serialized representation of object to a buffer. More...
|
|
virtual void | decode (const uint8_t **bufp, size_t *remainp) |
| Reads serialized representation of object from a buffer. More...
|
|
RangeServer recovery plan.
Definition at line 49 of file Plan.h.
Hypertable::Lib::RangeServerRecovery::Plan::Plan |
( |
| ) |
|
|
inline |
Hypertable::Lib::RangeServerRecovery::Plan::Plan |
( |
int |
type_ | ) |
|
|
inline |
void Hypertable::Lib::RangeServerRecovery::Plan::clear |
( |
| ) |
|
|
inline |
void Plan::decode_internal |
( |
uint8_t |
version, |
|
|
const uint8_t ** |
bufp, |
|
|
size_t * |
remainp |
|
) |
| |
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
- Parameters
-
version | Encoding version |
bufp | Address of destination buffer pointer (advanced by call) |
remainp | Address of integer holding amount of serialized object remaining |
- See also
- encode_internal() for encoding format
Implements Hypertable::Serializable.
Definition at line 68 of file Plan.cc.
void Plan::encode_internal |
( |
uint8_t ** |
bufp | ) |
const |
|
overrideprivatevirtual |
Writes serialized representation of object to a buffer.
- Parameters
-
bufp | Address of destination buffer pointer (advanced by call) |
Encoding is as follows:
Implements Hypertable::Serializable.
Definition at line 62 of file Plan.cc.
size_t Plan::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t Plan::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Plan & |
plan |
|
) |
| |
|
friend |
ReceiverPlan Hypertable::Lib::RangeServerRecovery::Plan::receiver_plan |
Receiver plan.
Definition at line 73 of file Plan.h.
ReplayPlan Hypertable::Lib::RangeServerRecovery::Plan::replay_plan |
Replay plan.
Definition at line 70 of file Plan.h.
int Hypertable::Lib::RangeServerRecovery::Plan::type |
Commit log type.
Definition at line 67 of file Plan.h.
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/RangeServerRecovery/Plan.h
- /home/doug/src/hypertable/src/cc/Hypertable/Lib/RangeServerRecovery/Plan.cc