#include <MetaLogDefinitionRangeServer.h>
Public Member Functions | |
DefinitionRangeServer (const char *backup_label) | |
uint16_t | version () override |
Returns version number of definition. More... | |
const char * | name () override |
Returns MetaLog definition name. More... | |
EntityPtr | create (const EntityHeader &header) override |
Constructs a MetaLog entity from an entity header. More... | |
Public Member Functions inherited from Hypertable::MetaLog::Definition | |
Definition (const char *backup_label) | |
Constructor. More... | |
virtual const char * | backup_label () |
Returns backup label of MetaLog. More... | |
Definition at line 29 of file MetaLogDefinitionRangeServer.h.
|
inline |
Definition at line 31 of file MetaLogDefinitionRangeServer.h.
|
overridevirtual |
Constructs a MetaLog entity from an entity header.
When the MetaLog framework reads serialized entities from a MetaLog file, it first reads the entity header and passes that header into this method which will construct an empty entity. It then reconstructs the entity state by passing a pointer to the serialized entity to the Entity::decode() method.
header | Entity header |
Implements Hypertable::MetaLog::Definition.
Definition at line 44 of file MetaLogDefinitionRangeServer.cc.
|
overridevirtual |
Returns MetaLog definition name.
This method returns the name of the MetaLog definition (e.g. "mml" or "rsml"). This name is used as the last path component of the directory name of the MetaLog. For example, the RSML for server "rs1" is stored in a directory path that looks something like /hypertable/servers/rs1/log/rsml
.
Implements Hypertable::MetaLog::Definition.
Definition at line 40 of file MetaLogDefinitionRangeServer.cc.
|
overridevirtual |
Returns version number of definition.
Implements Hypertable::MetaLog::Definition.
Definition at line 36 of file MetaLogDefinitionRangeServer.cc.