27 #ifndef Hypertable_Lib_Master_Request_Parameters_PhantomCommitComplete_h
28 #define Hypertable_Lib_Master_Request_Parameters_PhantomCommitComplete_h
40 namespace Parameters {
64 int32_t error,
const string message)
65 : m_op_id(op_id), m_location(location),m_plan_generation(plan_generation),
66 m_error(error), m_message(message) { }
70 int64_t
op_id() {
return m_op_id; }
74 const string&
location()
const {
return m_location; }
82 int32_t
error() {
return m_error; }
86 const string&
message()
const {
return m_message; }
92 uint8_t encoding_version()
const override;
97 size_t encoded_length_internal()
const override;
101 void encode_internal(uint8_t **bufp)
const override;
109 void decode_internal(uint8_t version,
const uint8_t **bufp,
110 size_t *remainp)
override;
119 int32_t m_plan_generation {};
133 #endif // Hypertable_Lib_Master_Request_Parameters_PhantomCommitComplete_h
PhantomCommitComplete()
Constructor.
string m_message
Error message
string m_location
Proxy name of RangeServer whose log is being recovered.
const string & message() const
Gets error message.
int32_t error()
Gets error code.
int32_t plan_generation()
Gets recovery plan generation.
Request parameters for phantom commit complete operation.
int64_t op_id()
Gets recovery operation ID.
PhantomCommitComplete(int64_t op_id, const string &location, int32_t plan_generation, int32_t error, const string message)
Constructor.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
const string & location() const
Gets proxy name of RangeServer whose log is being recovered.