Enumerated type for disk policy.
More...
Values for setting PolicyType.
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
.