| Modifier and Type | Class and Description |
|---|---|
| public static enum | TimeoutBehaviorConfiguration.TimeoutBehaviorType
Enum encapsulating type of TimeoutBehavior |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CUSTOM_TYPE_FACTORY_PROPERTY_NAME
Property name used to configure the class name of the factory class used by |
| public static final String | CUSTOM_TYPE_NAME
Type name for |
| public static final String | DEFAULT_PROPERTIES
Default value for properties. |
| public static final String | DEFAULT_PROPERTY_SEPARATOR
Default value for property separator |
| public static final TimeoutBehaviorConfiguration. | DEFAULT_TIMEOUT_BEHAVIOR_TYPE
Default value for timeout behavior |
| public static final String | DEFAULT_VALUE
Default value for timeout behavior |
| public static final String | EXCEPTION_TYPE_NAME
Type name for |
| public static final String | |
| public static final String | LOCAL_READS_TYPE_NAME
Type name for |
| public static final String | NOOP_TYPE_NAME
Type name for |
| private volatile String | |
| private volatile String | |
| private volatile TimeoutBehaviorConfiguration. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| private Properties | |
| public String | |
| public String | |
| public TimeoutBehaviorConfiguration. | |
| public String | |
| public int | |
| public TimeoutBehaviorConfiguration | |
| public TimeoutBehaviorConfiguration | |
| public void | |
| public void | |
| public void | |
| public TimeoutBehaviorConfiguration |
| CUSTOM_TYPE_FACTORY_PROPERTY_NAME | back to summary |
|---|---|
| public static final String CUSTOM_TYPE_FACTORY_PROPERTY_NAME Property name used to configure the class name of the factory class used by | |
| CUSTOM_TYPE_NAME | back to summary |
|---|---|
| public static final String CUSTOM_TYPE_NAME Type name for | |
| DEFAULT_PROPERTIES | back to summary |
|---|---|
| public static final String DEFAULT_PROPERTIES Default value for properties. | |
| DEFAULT_PROPERTY_SEPARATOR | back to summary |
|---|---|
| public static final String DEFAULT_PROPERTY_SEPARATOR Default value for property separator | |
| DEFAULT_TIMEOUT_BEHAVIOR_TYPE | back to summary |
|---|---|
| public static final TimeoutBehaviorConfiguration. Default value for timeout behavior | |
| DEFAULT_VALUE | back to summary |
|---|---|
| public static final String DEFAULT_VALUE Default value for timeout behavior | |
| EXCEPTION_TYPE_NAME | back to summary |
|---|---|
| public static final String EXCEPTION_TYPE_NAME Type name for | |
| LOCAL_READS_AND_EXCEPTION_ON_WRITES_TYPE_NAME | back to summary |
|---|---|
| public static final String LOCAL_READS_AND_EXCEPTION_ON_WRITES_TYPE_NAME Type name for | |
| LOCAL_READS_TYPE_NAME | back to summary |
|---|---|
| public static final String LOCAL_READS_TYPE_NAME Type name for | |
| NOOP_TYPE_NAME | back to summary |
|---|---|
| public static final String NOOP_TYPE_NAME Type name for | |
| properties | back to summary |
|---|---|
| private volatile String properties | |
| propertySeparator | back to summary |
|---|---|
| private volatile String propertySeparator | |
| type | back to summary |
|---|---|
| private volatile TimeoutBehaviorConfiguration. | |
| TimeoutBehaviorConfiguration | back to summary |
|---|---|
| public TimeoutBehaviorConfiguration() Default constructor | |
| TimeoutBehaviorConfiguration | back to summary |
|---|---|
| public TimeoutBehaviorConfiguration(TimeoutBehaviorConfiguration ref) Copy constructor
| |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| extractProperties | back to summary |
|---|---|
| private Properties extractProperties() | |
| getProperties | back to summary |
|---|---|
| public String getProperties() Get the properties
| |
| getPropertySeparator | back to summary |
|---|---|
| public String getPropertySeparator() Get the property separator
| |
| getTimeoutBehaviorType | back to summary |
|---|---|
| public TimeoutBehaviorConfiguration. Returns the type of timeout behavior configured
| |
| getType | back to summary |
|---|---|
| public String getType() Returns the type of timeout behavior configured
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| properties | back to summary |
|---|---|
| public TimeoutBehaviorConfiguration properties(String value) Set the properties
| |
| propertySeparator | back to summary |
|---|---|
| public TimeoutBehaviorConfiguration propertySeparator(String value) Set the property separator
| |
| setProperties | back to summary |
|---|---|
| public void setProperties(String properties) Set the properties | |
| setPropertySeparator | back to summary |
|---|---|
| public void setPropertySeparator(String propertySeparator) Set the property separator | |
| setType | back to summary |
|---|---|
| public void setType(String type) Set the type of timeout behavior | |
| type | back to summary |
|---|---|
| public TimeoutBehaviorConfiguration type(String type) Set the type of timeout behavior
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final TimeoutBehaviorConfiguration. | CUSTOM
Timeout behavior type that uses a custom factory to create the actual timeout behavior on timeout. |
| public static final TimeoutBehaviorConfiguration. | EXCEPTION
Timeout behavior type that throws exception on timeout |
| public static final TimeoutBehaviorConfiguration. | LOCAL_READS
Timeout behavior type that returns local values present in the VM or otherwise null on timeout |
| public static final TimeoutBehaviorConfiguration. | 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. |
| public static final TimeoutBehaviorConfiguration. | NOOP
Timeout behavior type that returns null and does nothing on timeout |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TimeoutBehaviorConfiguration. | Returns: theTimeoutBehaviorTypethe type name typeName)Get the |
| public abstract String | |
| public static boolean | Returns: true if its valid, otherwise falsethe string name type)Find out if a string is a valid timeoutBehavior type or not |
| public static TimeoutBehaviorConfiguration. | |
| public static TimeoutBehaviorConfiguration. |
| CUSTOM | back to summary |
|---|---|
| public static final TimeoutBehaviorConfiguration. Timeout behavior type that uses a custom factory to create the actual timeout behavior on timeout. The custom factory has to be
configured using properties otherwise an exception will be thrown. There must be a property named
| |
| EXCEPTION | back to summary |
|---|---|
| public static final TimeoutBehaviorConfiguration. Timeout behavior type that throws exception on timeout | |
| LOCAL_READS | back to summary |
|---|---|
| public static final TimeoutBehaviorConfiguration. Timeout behavior type that returns local values present in the VM or otherwise null on timeout | |
| LOCAL_READS_AND_EXCEPTION_ON_WRITES | back to summary |
|---|---|
| public static final TimeoutBehaviorConfiguration. Timeout behavior type that returns local values present in the VM or otherwise null on timeout for read operations. For write operations, it throws an exception on timeout. | |
| NOOP | back to summary |
|---|---|
| public static final TimeoutBehaviorConfiguration. Timeout behavior type that returns null and does nothing on timeout | |
| TYPE_MAP | back to summary |
|---|---|
| private static final Map<String, TimeoutBehaviorConfiguration. | |
| TimeoutBehaviorType | back to summary |
|---|---|
| private TimeoutBehaviorType() | |
| getTimeoutBehaviorTypeFromName | back to summary |
|---|---|
| public static TimeoutBehaviorConfiguration. Get the
| |
| getTypeName | back to summary |
|---|---|
| public abstract String getTypeName() Returns a String signifying this type
| |
| isValidTimeoutBehaviorType | back to summary |
|---|---|
| public static boolean isValidTimeoutBehaviorType(String type) Find out if a string is a valid timeoutBehavior type or not
| |
| valueOf | back to summary |
|---|---|
| public static TimeoutBehaviorConfiguration. | |
| values | back to summary |
|---|---|
| public static TimeoutBehaviorConfiguration. | |