|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.config.TimeoutBehaviorConfiguration
public class TimeoutBehaviorConfiguration
Configuration element for configuring timeoutBehavior for nonstop
Nested Class Summary | |
---|---|
static class |
TimeoutBehaviorConfiguration.TimeoutBehaviorType
Enum encapsulating type of TimeoutBehavior |
Field Summary | |
---|---|
static String |
CUSTOM_TYPE_FACTORY_PROPERTY_NAME
Property name used to configure the class name of the factory class used by TimeoutBehaviorConfiguration.TimeoutBehaviorType.CUSTOM |
static String |
CUSTOM_TYPE_NAME
Type name for TimeoutBehaviorConfiguration.TimeoutBehaviorType.CUSTOM |
static String |
DEFAULT_PROPERTIES
Default value for properties. |
static String |
DEFAULT_PROPERTY_SEPARATOR
Default value for property separator |
static TimeoutBehaviorConfiguration.TimeoutBehaviorType |
DEFAULT_TIMEOUT_BEHAVIOR_TYPE
Default value for timeout behavior |
static String |
DEFAULT_VALUE
Default value for timeout behavior |
static String |
EXCEPTION_TYPE_NAME
Type name for TimeoutBehaviorConfiguration.TimeoutBehaviorType.EXCEPTION |
static String |
LOCAL_READS_TYPE_NAME
Type name for TimeoutBehaviorConfiguration.TimeoutBehaviorType.LOCAL_READS |
static String |
NOOP_TYPE_NAME
Type name for TimeoutBehaviorConfiguration.TimeoutBehaviorType.NOOP |
Constructor Summary | |
---|---|
TimeoutBehaviorConfiguration()
|
Method Summary | |
---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
NonstopTimeoutBehaviorFactory |
getNonstopTimeoutBehaviorFactory()
Get the NonstopTimeoutBehaviorFactory according to the active config |
String |
getProperties()
Get the properties |
String |
getPropertySeparator()
Get the property separator |
TimeoutBehaviorConfiguration.TimeoutBehaviorType |
getTimeoutBehaviorType()
Returns the type of timeout behavior configured |
String |
getType()
Returns the type of timeout behavior configured |
int |
hashCode()
|
TimeoutBehaviorConfiguration |
properties(String value)
Set the properties |
TimeoutBehaviorConfiguration |
propertySeparator(String value)
Set the property separator |
void |
setProperties(String properties)
Set the properties |
void |
setPropertySeparator(String propertySeparator)
Set the property separator |
void |
setType(String type)
Set the type of timeout behavior |
TimeoutBehaviorConfiguration |
type(String type)
Set the type of timeout behavior |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EXCEPTION_TYPE_NAME
TimeoutBehaviorConfiguration.TimeoutBehaviorType.EXCEPTION
public static final String LOCAL_READS_TYPE_NAME
TimeoutBehaviorConfiguration.TimeoutBehaviorType.LOCAL_READS
public static final String NOOP_TYPE_NAME
TimeoutBehaviorConfiguration.TimeoutBehaviorType.NOOP
public static final String CUSTOM_TYPE_NAME
TimeoutBehaviorConfiguration.TimeoutBehaviorType.CUSTOM
public static final String CUSTOM_TYPE_FACTORY_PROPERTY_NAME
TimeoutBehaviorConfiguration.TimeoutBehaviorType.CUSTOM
public static final TimeoutBehaviorConfiguration.TimeoutBehaviorType DEFAULT_TIMEOUT_BEHAVIOR_TYPE
public static final String DEFAULT_PROPERTIES
public static final String DEFAULT_PROPERTY_SEPARATOR
public static final String DEFAULT_VALUE
Constructor Detail |
---|
public TimeoutBehaviorConfiguration()
Method Detail |
---|
public String getType()
public TimeoutBehaviorConfiguration.TimeoutBehaviorType getTimeoutBehaviorType()
public void setType(String type)
type
- public TimeoutBehaviorConfiguration type(String type)
type
-
public String getProperties()
public void setProperties(String properties)
properties
- public TimeoutBehaviorConfiguration properties(String value)
value
-
public String getPropertySeparator()
public void setPropertySeparator(String propertySeparator)
propertySeparator
- public TimeoutBehaviorConfiguration propertySeparator(String value)
value
-
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public NonstopTimeoutBehaviorFactory getNonstopTimeoutBehaviorFactory()
NonstopTimeoutBehaviorFactory
according to the active config
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |