27 #ifndef Hypertable_Lib_Master_Request_Parameters_RelinquishAcknowledge_h
28 #define Hypertable_Lib_Master_Request_Parameters_RelinquishAcknowledge_h
43 namespace Parameters {
65 : m_source(source), m_range_id(range_id), m_table(table),
66 m_range_spec(range_spec) { }
70 const string&
source()
const {
return m_source; }
74 int64_t
range_id()
const {
return m_range_id; }
88 uint8_t encoding_version()
const override;
93 size_t encoded_length_internal()
const override;
97 void encode_internal(uint8_t **bufp)
const override;
105 void decode_internal(uint8_t version,
const uint8_t **bufp,
106 size_t *remainp)
override;
126 #endif // Hypertable_Lib_Master_Request_Parameters_RelinquishAcknowledge_h
RangeSpec & range_spec()
Gets range specification.
Declarations for TableIdentifier and TableIdentifierManaged.
TableIdentifierManaged m_table
Table identifier of table to which range belongs
string m_source
Source RangeServer.
Wrapper for TableIdentifier providing member storage.
const string & source() const
Gets name of source RangeServer.
Declarations for RangeSpec and RangeSpecManaged.
Declarations for Serializable.
RangeSpecManaged m_range_spec
Range specification
int64_t range_id() const
Gets range MetaLog entry identifier.
Mixin class that provides a standard serialization interface.
int64_t m_range_id
Range MetaLog entry identifier
Request parameters for relinquish acknowledge operation.
RelinquishAcknowledge()
Constructor.
RelinquishAcknowledge(const string &source, int64_t range_id, const TableIdentifier &table, const RangeSpec &range_spec)
Constructor.
TableIdentifier & table()
Gets table identifier.
Wrapper for RangeSpec providing member storage.