|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TimeoutBehaviorConfiguration.TimeoutBehaviorType> net.sf.ehcache.config.TimeoutBehaviorConfiguration.TimeoutBehaviorType
public static enum TimeoutBehaviorConfiguration.TimeoutBehaviorType
Enum encapsulating type of TimeoutBehavior
Enum Constant Summary | |
---|---|
CUSTOM
Timeout behavior type that uses a custom factory to create the actual timeout behavior on timeout. |
|
EXCEPTION
Timeout behavior type that throws exception on timeout |
|
LOCAL_READS
Timeout behavior type that returns local values present in the VM or otherwise null on timeout |
|
LOCAL_READS_AND_EXCEPTION_ON_WRITES
Timeout behavior type that returns local values present in the VM or otherwise null on timeout for read operations. |
|
NOOP
Timeout behavior type that returns null and does nothing on timeout |
Method Summary | |
---|---|
static TimeoutBehaviorConfiguration.TimeoutBehaviorType |
getTimeoutBehaviorTypeFromName(String typeName)
Get the TimeoutBehaviorConfiguration.TimeoutBehaviorType corresponding to a name |
abstract String |
getTypeName()
Returns a String signifying this type |
static boolean |
isValidTimeoutBehaviorType(String type)
Find out if a string is a valid timeoutBehavior type or not |
static TimeoutBehaviorConfiguration.TimeoutBehaviorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimeoutBehaviorConfiguration.TimeoutBehaviorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TimeoutBehaviorConfiguration.TimeoutBehaviorType EXCEPTION
public static final TimeoutBehaviorConfiguration.TimeoutBehaviorType NOOP
public static final TimeoutBehaviorConfiguration.TimeoutBehaviorType LOCAL_READS
public static final TimeoutBehaviorConfiguration.TimeoutBehaviorType LOCAL_READS_AND_EXCEPTION_ON_WRITES
public static final TimeoutBehaviorConfiguration.TimeoutBehaviorType CUSTOM
TimeoutBehaviorConfiguration.CUSTOM_TYPE_FACTORY_PROPERTY_NAME
whose value is the
fully qualified name of a class that implements NonstopTimeoutBehaviorFactory
having no-args constructor.
Method Detail |
---|
public static TimeoutBehaviorConfiguration.TimeoutBehaviorType[] values()
for (TimeoutBehaviorConfiguration.TimeoutBehaviorType c : TimeoutBehaviorConfiguration.TimeoutBehaviorType.values()) System.out.println(c);
public static TimeoutBehaviorConfiguration.TimeoutBehaviorType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic abstract String getTypeName()
public static boolean isValidTimeoutBehaviorType(String type)
type
- the string name
public static TimeoutBehaviorConfiguration.TimeoutBehaviorType getTimeoutBehaviorTypeFromName(String typeName)
TimeoutBehaviorConfiguration.TimeoutBehaviorType
corresponding to a name
typeName
- the type name
TimeoutBehaviorConfiguration.TimeoutBehaviorType
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |