VMware GemFire Native C++ Reference  9.2.4
apache::geode::client::DiskPolicyType Class Reference

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. 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

◆ PolicyType

Values for setting PolicyType.

Member Function Documentation

◆ fromName()

static PolicyType apache::geode::client::DiskPolicyType::fromName ( const char *  name)
static

Returns the type of the Lru action represented by name.

◆ fromOrdinal()

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

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

◆ isNone()

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

Return whether this is NONE.

◆ isOverflow()

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

◆ isPersist()

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

Return whether this is persist.


Pivotal GemFire C++ Cache API Documentation