VMware GemFire Native C++ Reference  9.1
apache::geode::client::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 apache::geode::client::DiskPolicyType::fromName ( const char *  name)
static

Returns the type of the Lru action represented by name.

static const char* apache::geode::client::DiskPolicyType::fromOrdinal ( const uint8_t  ordinal)
static

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

static bool apache::geode::client::DiskPolicyType::isNone ( const PolicyType  type)
inlinestatic

Return whether this is NONE.

static bool apache::geode::client::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 apache::geode::client::DiskPolicyType::isPersist ( const PolicyType  type)
inlinestatic

Return whether this is persist.


Pivotal GemFire C++ Cache API Documentation