Request parameters for phantom commit complete operation.
More...
#include <PhantomCommitComplete.h>
Request parameters for phantom commit complete operation.
Definition at line 46 of file PhantomCommitComplete.h.
Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::PhantomCommitComplete |
( |
| ) |
|
|
inline |
Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::PhantomCommitComplete |
( |
int64_t |
op_id, |
|
|
const string & |
location, |
|
|
int32_t |
plan_generation, |
|
|
int32_t |
error, |
|
|
const string |
message |
|
) |
| |
|
inline |
Constructor.
Initializes with parameters for encoding. Sets m_op_id to op_id
, m_location to location
, m_plan_generation to plan_generation
, m_error to error
, and m_message to message
.
- Parameters
-
op_id | Recovery operation ID |
location | Proxy name of RangeServer whose log is being recovered |
plan_generation | Recovery plan generation |
error | Error code |
message | Error message |
Definition at line 63 of file PhantomCommitComplete.h.
void PhantomCommitComplete::decode_internal |
( |
uint8_t |
version, |
|
|
const uint8_t ** |
bufp, |
|
|
size_t * |
remainp |
|
) |
| |
|
overrideprivatevirtual |
void PhantomCommitComplete::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 |
i64 | Recovery operation ID |
vstr | Proxy name of RangeServer whose log is being recovered |
i32 | Recovery plan generation |
i32 | Error code |
vstr | Error message |
Implements Hypertable::Serializable.
Definition at line 73 of file PhantomCommitComplete.cc.
size_t PhantomCommitComplete::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
uint8_t PhantomCommitComplete::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
int32_t Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::error |
( |
| ) |
|
|
inline |
const string& Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::location |
( |
| ) |
const |
|
inline |
Gets proxy name of RangeServer whose log is being recovered.
- Returns
- Proxy name of RangeServer whose log is being recovered
Definition at line 74 of file PhantomCommitComplete.h.
const string& Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::message |
( |
| ) |
const |
|
inline |
int64_t Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::op_id |
( |
| ) |
|
|
inline |
int32_t Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::plan_generation |
( |
| ) |
|
|
inline |
int32_t Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::m_error {} |
|
private |
string Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::m_location |
|
private |
string Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::m_message |
|
private |
int64_t Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::m_op_id {} |
|
private |
int32_t Hypertable::Lib::Master::Request::Parameters::PhantomCommitComplete::m_plan_generation {} |
|
private |
The documentation for this class was generated from the following files: