gemfire::DiskPolicyType Class Reference


Detailed Description

Enumerated type for disk policy.

See also:
RegionAttributes::getDiskPolicy

AttributesFactory::setDiskPolicy


Public Types

enum  PolicyType
 Values for setting PolicyType. More...

Static Public Member Functions

static PolicyType fromName (const char *name)
 Returns the type of the Lru action represented by name.
static const char * fromOrdinal (const uint8_t ordinal)
 Returns the Name of the Lru action represented by specified ordinal.
static bool isNone (const PolicyType type)
 Return whether this is NONE.
static bool isOverflow (const PolicyType type)
 Returns whether this is one of the overflow to disk type.
static bool isPersist (const PolicyType type)
 Return whether this is persist.

Member Enumeration Documentation

enum gemfire::DiskPolicyType::PolicyType

Values for setting PolicyType.


Member Function Documentation

static PolicyType gemfire::DiskPolicyType::fromName ( const char *  name  )  [static]

Returns the type of the Lru action represented by name.

static const char* gemfire::DiskPolicyType::fromOrdinal ( const uint8_t  ordinal  )  [static]

Returns the Name of the Lru action represented by specified ordinal.

static bool gemfire::DiskPolicyType::isNone ( const PolicyType  type  )  [inline, static]

Return whether this is NONE.

static bool gemfire::DiskPolicyType::isOverflow ( const PolicyType  type  )  [inline, static]

Returns whether this is one of the overflow to disk type.

Returns:
true if this is any action other than NONE

static bool gemfire::DiskPolicyType::isPersist ( const PolicyType  type  )  [inline, static]

Return whether this is persist.


GemFire C++ Cache API Documentation