Pivotal GemFire Native Client Cache Reference  9.0.6
gemfire::DiskPolicyType Class Reference

Enumerated type for disk policy. More...

Public Types

Static Public Member Functions

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

Detailed Description

Enumerated type for disk policy.

See also
RegionAttributes::getDiskPolicy
AttributesFactory::setDiskPolicy

Member Enumeration Documentation

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)
inlinestatic

Return whether this is NONE.

static bool gemfire::DiskPolicyType::isOverflow ( const PolicyType  type)
inlinestatic

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)
inlinestatic

Return whether this is persist.


GemFire C++ Cache API Documentation