public class ExpirationAction
extends java.lang.Object
implements java.io.Serializable
ExpirationAttributes
,
Serialized FormModifier and Type | Field and Description |
---|---|
static ExpirationAction |
DESTROY
When the region or cached object expires, it is destroyed.
|
static ExpirationAction |
INVALIDATE
When the region or cached object expires, it is invalidated.
|
static ExpirationAction |
LOCAL_DESTROY
When expired, destroyed locally only.
|
static ExpirationAction |
LOCAL_INVALIDATE
When expired, invalidated locally only.
|
int |
ordinal |
Modifier and Type | Method and Description |
---|---|
static ExpirationAction |
fromOrdinal(int ordinal)
Return the ExpirationAction represented by specified ordinal
|
boolean |
isDestroy()
Returns whether this is the action for distributed destroy.
|
boolean |
isDistributed()
Returns whether this action is distributed.
|
boolean |
isInvalidate()
Returns whether this is the action for distributed invalidate.
|
boolean |
isLocal()
Returns whether this action is local.
|
boolean |
isLocalDestroy()
Returns whether this is the action for local destroy.
|
boolean |
isLocalInvalidate()
Returns whether this is the action for local invalidate.
|
java.lang.String |
toString()
Returns a string representation for this action
|
public static final ExpirationAction INVALIDATE
public static final ExpirationAction LOCAL_INVALIDATE
public static final ExpirationAction DESTROY
public static final ExpirationAction LOCAL_DESTROY
public final int ordinal
public boolean isInvalidate()
public boolean isLocalInvalidate()
public boolean isDestroy()
public boolean isLocalDestroy()
public boolean isLocal()
public boolean isDistributed()
public java.lang.String toString()
toString
in class java.lang.Object
public static ExpirationAction fromOrdinal(int ordinal)