27 #ifndef Hypertable_Lib_Master_Request_Parameters_ReplayStatus_h
28 #define Hypertable_Lib_Master_Request_Parameters_ReplayStatus_h
40 namespace Parameters {
60 ReplayStatus(int64_t op_id,
const std::string &location, int32_t plan_generation)
61 : m_op_id(op_id), m_location(location), m_plan_generation(plan_generation)
66 int64_t
op_id() {
return m_op_id; }
70 const string&
location()
const {
return m_location; }
80 uint8_t encoding_version()
const override;
85 size_t encoded_length_internal()
const override;
89 void encode_internal(uint8_t **bufp)
const override;
97 void decode_internal(uint8_t version,
const uint8_t **bufp,
98 size_t *remainp)
override;
107 int32_t m_plan_generation {};
114 #endif // Hypertable_Lib_Master_Request_Parameters_ReplayStatus_h
int32_t plan_generation()
Gets recovery plan generation.
Request parameters for replay status operation.
ReplayStatus()
Constructor.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
ReplayStatus(int64_t op_id, const std::string &location, int32_t plan_generation)
Constructor.
string m_location
Proxy name of RangeServer whose log is being replayed.
const string & location() const
Gets proxy name of RangeServer whose log is being replayed.
int64_t op_id()
Gets recovery operation ID.