public static enum EnableExpiration.ExpirationType extends Enum<EnableExpiration.ExpirationType>
EnableExpiration.ExpirationType
defines different types of GemFire/Geode Expiration policies such as
(Entry) Idle Timeout (TTI) and (Entry) Time to Live (TTL).Enum Constant and Description |
---|
IDLE_TIMEOUT |
TIME_TO_LIVE |
Modifier and Type | Method and Description |
---|---|
protected String |
abbreviation()
Returns the abbreviation for this
EnableExpiration.ExpirationType . |
String |
toString() |
static EnableExpiration.ExpirationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnableExpiration.ExpirationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableExpiration.ExpirationType IDLE_TIMEOUT
public static final EnableExpiration.ExpirationType TIME_TO_LIVE
public static EnableExpiration.ExpirationType[] values()
for (EnableExpiration.ExpirationType c : EnableExpiration.ExpirationType.values()) System.out.println(c);
public static EnableExpiration.ExpirationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected String abbreviation()
EnableExpiration.ExpirationType
.String
with the EnableExpiration.ExpirationType
abbreviation.public String toString()
toString
in class Enum<EnableExpiration.ExpirationType>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.