0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Enumerations | Functions | Variables
StateDbKeys.h File Reference
#include "Common/Compat.h"
#include <vector>
#include "Common/String.h"
#include "Common/Serialization.h"
Include dependency graph for StateDbKeys.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Hyperspace
 Hyperspace definitions
 
 Hyperspace::StateDbKeys
 

Enumerations

enum  {
  Hyperspace::StateDbKeys::PATH_DELIM = 0x00000001, Hyperspace::StateDbKeys::SESSIONS = 0x40000001, Hyperspace::StateDbKeys::SESSION_LEASE_INTERVAL, Hyperspace::StateDbKeys::SESSION_ID,
  Hyperspace::StateDbKeys::SESSION_ADDR, Hyperspace::StateDbKeys::SESSION_HANDLES, Hyperspace::StateDbKeys::SESSION_EXPIRED, Hyperspace::StateDbKeys::SESSION_NAME,
  Hyperspace::StateDbKeys::HANDLES = 0x60000001, Hyperspace::StateDbKeys::HANDLE_ID, Hyperspace::StateDbKeys::HANDLE_NAME, Hyperspace::StateDbKeys::HANDLE_OPEN_FLAGS,
  Hyperspace::StateDbKeys::HANDLE_EVENT_MASK, Hyperspace::StateDbKeys::HANDLE_LOCKED, Hyperspace::StateDbKeys::HANDLE_NODE_NAME, Hyperspace::StateDbKeys::HANDLE_SESSION_ID,
  Hyperspace::StateDbKeys::HANDLE_DEL_STATE, Hyperspace::StateDbKeys::NODES = 0x80000001, Hyperspace::StateDbKeys::NODE_NAME, Hyperspace::StateDbKeys::NODE_EPHEMERAL,
  Hyperspace::StateDbKeys::NODE_LOCK_MODE, Hyperspace::StateDbKeys::NODE_LOCK_GENERATION, Hyperspace::StateDbKeys::NODE_EXCLUSIVE_LOCK_HANDLE, Hyperspace::StateDbKeys::NODE_SHARED_LOCK_HANDLES,
  Hyperspace::StateDbKeys::NODE_PENDING_LOCK_REQUESTS, Hyperspace::StateDbKeys::NODE_HANDLE_MAP, Hyperspace::StateDbKeys::NODE_HANDLE_MAP_SIZE, Hyperspace::StateDbKeys::EVENTS = 0xa0000001,
  Hyperspace::StateDbKeys::EVENT_ID, Hyperspace::StateDbKeys::EVENT_TYPE, Hyperspace::StateDbKeys::EVENT_MASK, Hyperspace::StateDbKeys::EVENT_NAME,
  Hyperspace::StateDbKeys::EVENT_MODE, Hyperspace::StateDbKeys::EVENT_GENERATION, Hyperspace::StateDbKeys::EVENT_NOTIFICATION_HANDLES
}
 

Functions

String Hyperspace::StateDbKeys::get_session_key (uint64_t id, uint32_t type)
 
String Hyperspace::StateDbKeys::get_event_key (uint64_t id, uint32_t type)
 
String Hyperspace::StateDbKeys::get_handle_key (uint64_t id, uint32_t type)
 
String Hyperspace::StateDbKeys::get_node_key (const String &name, uint32_t type)
 
String Hyperspace::StateDbKeys::get_node_pending_lock_request_key (const String &name, uint64_t handle_id)
 

Variables

const String Hyperspace::StateDbKeys::PATH_DELIM_STR = "/"
 
const String Hyperspace::StateDbKeys::HANDLES_STR
 
const String Hyperspace::StateDbKeys::HANDLE_OPEN_FLAGS_STR = "FLAG"
 
const String Hyperspace::StateDbKeys::HANDLE_DEL_STATE_STR = "DEL"
 
const String Hyperspace::StateDbKeys::HANDLE_EVENT_MASK_STR = "EVT_MASK"
 
const String Hyperspace::StateDbKeys::HANDLE_LOCKED_STR = "LCKD"
 
const String Hyperspace::StateDbKeys::HANDLE_NODE_NAME_STR = "NODE_NAME"
 
const String Hyperspace::StateDbKeys::HANDLE_SESSION_ID_STR = "SESSN_ID"
 
const String Hyperspace::StateDbKeys::SESSIONS_STR
 
const String Hyperspace::StateDbKeys::SESSION_ADDR_STR = "ADDR"
 
const String Hyperspace::StateDbKeys::SESSION_EXPIRED_STR = "EXP"
 
const String Hyperspace::StateDbKeys::SESSION_HANDLES_STR
 
const String Hyperspace::StateDbKeys::SESSION_NAME_STR = "NAME"
 
const String Hyperspace::StateDbKeys::NODES_STR
 
const String Hyperspace::StateDbKeys::NODE_EPHEMERAL_STR = "EPHMRL"
 
const String Hyperspace::StateDbKeys::NODE_LOCK_MODE_STR = "LK_MD"
 
const String Hyperspace::StateDbKeys::NODE_LOCK_GENERATION_STR = "LK_GEN"
 
const String Hyperspace::StateDbKeys::NODE_EXCLUSIVE_LOCK_HANDLE_STR = "EX_LK_HDL"
 
const String Hyperspace::StateDbKeys::NODE_SHARED_LOCK_HANDLES_STR = "SHRD_HDLS"
 
const String Hyperspace::StateDbKeys::NODE_PENDING_LOCK_REQUESTS_STR = "PNDG_LK_REQS"
 
const String Hyperspace::StateDbKeys::NODE_HANDLE_MAP_STR = "HDL_MAP"
 
const String Hyperspace::StateDbKeys::NODE_HANDLE_MAP_SIZE_STR = "HDL_MAP_SZ"
 
const String Hyperspace::StateDbKeys::EVENTS_STR = PATH_DELIM_STR + "EVENTS" + PATH_DELIM_STR
 
const String Hyperspace::StateDbKeys::EVENT_TYPE_STR = "TYPE"
 
const String Hyperspace::StateDbKeys::EVENT_MASK_STR = "MASK"
 
const String Hyperspace::StateDbKeys::EVENT_NAME_STR = "NAME"
 
const String Hyperspace::StateDbKeys::EVENT_MODE_STR = "MODE"
 
const String Hyperspace::StateDbKeys::EVENT_GENERATION_STR = "GEN"
 
const String Hyperspace::StateDbKeys::EVENT_NOTIFICATION_HANDLES_STR = "NF_HDLS"
 
const String Hyperspace::StateDbKeys::NEXT_IDS = "/NXT_ID/"
 
const String Hyperspace::StateDbKeys::NEXT_SESSION_ID = NEXT_IDS + "SESS"
 
const String Hyperspace::StateDbKeys::NEXT_EVENT_ID = NEXT_IDS + "EVT"
 
const String Hyperspace::StateDbKeys::NEXT_HANDLE_ID = NEXT_IDS + "HDL"