0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
Operation.h File Reference

Declarations for Operation. More...

#include "Context.h"
#include "MetaLogEntityTypes.h"
#include <Hypertable/Lib/MetaLogEntity.h>
#include <AsyncComm/Clock.h>
#include <AsyncComm/Event.h>
#include <Common/ScopeGuard.h>
#include <ctime>
#include <set>
Include dependency graph for Operation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Hypertable::Operation
 Abstract base class for master operations. More...
 

Namespaces

 Hypertable
 Hypertable definitions
 
 Hypertable::OperationState
 Master operation states.
 
 Hypertable::Dependency
 Master dependency strings
 

Typedefs

typedef std::set< StringHypertable::DependencySet
 Set of dependency string. More...
 
typedef std::shared_ptr
< Operation
Hypertable::OperationPtr
 Smart pointer to Operation. More...
 

Enumerations

enum  {
  Hypertable::OperationState::INITIAL = 0, Hypertable::OperationState::COMPLETE = 1, Hypertable::OperationState::UNUSED = 2, Hypertable::OperationState::STARTED = 3,
  Hypertable::OperationState::ASSIGN_ID = 4, Hypertable::OperationState::ASSIGN_LOCATION = 5, Hypertable::OperationState::ASSIGN_METADATA_RANGES = 6, Hypertable::OperationState::LOAD_RANGE = 7,
  Hypertable::OperationState::LOAD_ROOT_METADATA_RANGE = 8, Hypertable::OperationState::LOAD_SECOND_METADATA_RANGE = 9, Hypertable::OperationState::WRITE_METADATA = 10, Hypertable::OperationState::CREATE_RS_METRICS = 11,
  Hypertable::OperationState::VALIDATE_SCHEMA = 12, Hypertable::OperationState::SCAN_METADATA = 13, Hypertable::OperationState::ISSUE_REQUESTS = 14, Hypertable::OperationState::UPDATE_HYPERSPACE = 15,
  Hypertable::OperationState::ACKNOWLEDGE = 16, Hypertable::OperationState::FINALIZE = 17, Hypertable::OperationState::CREATE_INDEX = 18, Hypertable::OperationState::CREATE_QUALIFIER_INDEX = 19,
  Hypertable::OperationState::PREPARE = 20, Hypertable::OperationState::COMMIT = 21, Hypertable::OperationState::PHANTOM_LOAD = 22, Hypertable::OperationState::REPLAY_FRAGMENTS = 23,
  Hypertable::OperationState::CREATE_INDICES = 24, Hypertable::OperationState::DROP_INDICES = 25, Hypertable::OperationState::SUSPEND_TABLE_MAINTENANCE = 26, Hypertable::OperationState::RESUME_TABLE_MAINTENANCE = 27,
  Hypertable::OperationState::DROP_VALUE_INDEX = 28, Hypertable::OperationState::DROP_QUALIFIER_INDEX = 29, Hypertable::OperationState::RENAME_VALUE_INDEX = 30, Hypertable::OperationState::RENAME_QUALIFIER_INDEX = 31
}
 Enumeration for operation states. More...
 

Functions

const char * Hypertable::OperationState::get_text (int state)
 Converts operation state constant to human readable string. More...
 

Variables

const char * Hypertable::Dependency::INIT = "INIT"
 
const char * Hypertable::Dependency::SERVERS = "SERVERS"
 
const char * Hypertable::Dependency::ROOT = "ROOT"
 
const char * Hypertable::Dependency::METADATA = "METADATA"
 
const char * Hypertable::Dependency::SYSTEM = "SYSTEM"
 
const char * Hypertable::Dependency::USER = "USER"
 
const char * Hypertable::Dependency::RECOVER_SERVER = "RECOVER_SERVER"
 
const char * Hypertable::Dependency::RECOVERY_BLOCKER = "RECOVERY_BLOCKER"
 
const char * Hypertable::Dependency::RECOVERY = "RECOVERY"
 

Detailed Description

Declarations for Operation.

This file contains declarations for Operation, an abstract base class that that represents a master operation, and from which specific/concrete operation classes are derived.

Definition in file Operation.h.