29 #ifndef Hypertable_Master_OperationEphemeral_h
30 #define Hypertable_Master_OperationEphemeral_h
117 void decode_state(uint8_t version,
const uint8_t **bufp,
size_t *remainp)
override {
143 #endif // Hypertable_Master_OperationEphemeral_h
Abstract base class for ephemeral operations.
void decode_state(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Decode operation state.
Declarations for Operation.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
OperationEphemeral(ContextPtr &context, int32_t type)
Constructor with operation type specifier.
std::shared_ptr< Context > ContextPtr
Smart pointer to Context.
virtual ~OperationEphemeral()
Destructor.
void decode_state_old(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Decode operation state.
OperationEphemeral(ContextPtr &context, EventPtr &event, int32_t type)
Constructor with request Event and operation type specifier.
OperationEphemeral(ContextPtr &context, const MetaLog::EntityHeader &header_)
Constructor with MetaLog::EntityHeader.
Time related declarations.
size_t encoded_length_state() const override
Encoded length of operation state.
bool m_ephemeral
Indicates if operation is ephemeral and does not get persisted to MML.
Abstract base class for master operations.
uint8_t encoding_version_state() const override
Returns version of encoding format.
Declarations for Context.
Executes user-defined functions when leaving the current scope.
void encode_state(uint8_t **bufp) const override
Encode operation state.