Balance plan.
More...
#include <BalancePlan.h>
Balance plan.
Definition at line 38 of file BalancePlan.h.
Hypertable::BalancePlan::BalancePlan |
( |
const std::string & |
algorithm_ = std::string() | ) |
|
|
inline |
void Hypertable::BalancePlan::clear |
( |
| ) |
|
|
inline |
void BalancePlan::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 87 of file BalancePlan.cc.
bool Hypertable::BalancePlan::empty |
( |
| ) |
|
|
inline |
void BalancePlan::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:
Encoding | Description |
vstr | Algorithm |
i32 | Duration in milliseconds |
i32 | Move count |
For each move ... |
RangeMoveSpec | Range move specification |
Implements Hypertable::Serializable.
Definition at line 79 of file BalancePlan.cc.
size_t BalancePlan::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t BalancePlan::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
ostream & operator<< |
( |
ostream & |
os, |
|
|
const BalancePlan & |
plan |
|
) |
| |
|
related |
std::string Hypertable::BalancePlan::algorithm |
int32_t Hypertable::BalancePlan::duration_millis {} |
The documentation for this class was generated from the following files: