0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Enumerations | Functions
Hypertable::MaintenanceFlag Namespace Reference

Maintenance task bit field. More...

Classes

struct  Equal
 Equality function for pointers. More...
 
class  Hash
 Hash function class for pointers. More...
 
class  Map
 Maps object pointers to bit fields. More...
 

Enumerations

enum  {
  SPLIT = 0x00000100, COMPACT = 0x00000200, COMPACT_MINOR = 0x00000201, COMPACT_MAJOR = 0x00000202,
  COMPACT_MERGING = 0x00000204, COMPACT_GC = 0x00000208, COMPACT_MOVE = 0x00000210, MEMORY_PURGE = 0x00000400,
  MEMORY_PURGE_SHADOW_CACHE = 0x00000401, MEMORY_PURGE_CELLSTORE = 0x00000402, RELINQUISH = 0x00000800, RECOMPUTE_MERGE_RUN = 0x00010000
}
 Enumeration for maintenance masks. More...
 

Functions

bool relinquish (int flags)
 Tests the RELINQUISH bit of flags More...
 
bool split (int flags)
 Tests the SPLIT bit of flags More...
 
bool compaction (int flags)
 Tests the COMPACT bit of flags More...
 
bool minor_compaction (int flags)
 Tests the COMPACT_MINOR bit of flags More...
 
bool merging_compaction (int flags)
 Tests the COMPACT_MERGING bit of flags More...
 
bool major_compaction (int flags)
 Tests the COMPACT_MAJOR bit of flags More...
 
bool gc_compaction (int flags)
 Tests the COMPACT_GC bit of flags More...
 
bool move_compaction (int flags)
 Tests the COMPACT_MOVE bit of flags More...
 
bool purge_shadow_cache (int flags)
 Tests the PURGE_SHADOW_CACHE bit of flags More...
 
bool purge_cellstore (int flags)
 Tests the PURGE_CELLSTORE bit of flags More...
 
bool recompute_merge_run (int flags)
 Tests the RECOMPUTE_MERGE_RUN bit of flags More...
 

Detailed Description

Maintenance task bit field.

Contains classes and functions for manipulating a bit field of maintenance types.

Function Documentation

bool Hypertable::MaintenanceFlag::compaction ( int  flags)
inline

Tests the COMPACT bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if COMPACT bit is set, false otherwise.

Definition at line 86 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::gc_compaction ( int  flags)
inline

Tests the COMPACT_GC bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if COMPACT_GC bit is set, false otherwise.

Definition at line 122 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::major_compaction ( int  flags)
inline

Tests the COMPACT_MAJOR bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if COMPACT_MAJOR bit is set, false otherwise.

Definition at line 113 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::merging_compaction ( int  flags)
inline

Tests the COMPACT_MERGING bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if COMPACT_MERGING bit is set, false otherwise.

Definition at line 104 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::minor_compaction ( int  flags)
inline

Tests the COMPACT_MINOR bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if COMPACT_MINOR bit is set, false otherwise.

Definition at line 95 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::move_compaction ( int  flags)
inline

Tests the COMPACT_MOVE bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if COMPACT_MOVE bit is set, false otherwise.

Definition at line 131 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::purge_cellstore ( int  flags)
inline

Tests the PURGE_CELLSTORE bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if PURGE_CELLSTORE bit is set, false otherwise.

Definition at line 149 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::purge_shadow_cache ( int  flags)
inline

Tests the PURGE_SHADOW_CACHE bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if PURGE_SHADOW_CACHE bit is set, false otherwise.

Definition at line 140 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::recompute_merge_run ( int  flags)
inline

Tests the RECOMPUTE_MERGE_RUN bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if RECOMPUTE_MERGE_RUN bit is set, false otherwise.

Definition at line 158 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::relinquish ( int  flags)
inline

Tests the RELINQUISH bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if RELINQUISH bit is set, false otherwise.

Definition at line 68 of file MaintenanceFlag.h.

bool Hypertable::MaintenanceFlag::split ( int  flags)
inline

Tests the SPLIT bit of flags

Parameters
flagsBit field of maintenance types
Returns
true if SPLIT bit is set, false otherwise.

Definition at line 77 of file MaintenanceFlag.h.