| Modifier and Type | Field and Description |
|---|---|
| public static final String | BULK_OPS_TIMEOUT_MULTIPLY_FACTOR
System Property name for bulk operations multiply factor |
| private volatile int | |
| private volatile boolean | |
| public static final int | DEFAULT_BULK_OP_TIMEOUT_FACTOR
Default value of timeout multiplication factor for bulk operations like removeAll or size |
| public static final boolean | DEFAULT_ENABLED
Default value of nonstop attribute |
| public static final boolean | DEFAULT_IMMEDIATE_TIMEOUT
Default value of immediateTimeout attribute |
| public static final int | DEFAULT_SEARCH_TIMEOUT_MILLIS
Default value of searchTimeoutMillis attribute |
| public static final TimeoutBehaviorConfiguration | DEFAULT_TIMEOUT_BEHAVIOR
Default value of timeoutBehavior attribute |
| public static final int | DEFAULT_TIMEOUT_MILLIS
Default value of timeoutMillis attribute |
| private volatile boolean | |
| private volatile boolean | |
| private volatile long | |
| private TimeoutBehaviorConfiguration | |
| private volatile long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public NonstopConfiguration | |
| public NonstopConfiguration | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public void | |
| public int | Returns: the value of factorreturns the time out multiplication factor for bulk cache operations |
| public long | Returns: the value of the search timeout in millisecondsReturns the value of the search timeout in milliseconds |
| public TimeoutBehaviorConfiguration | Returns: value of timeoutBehavior configuredReturns value of timeoutBehavior configured |
| public long | Returns: the value of timeout in millisecondsReturns the value of timeout in milliseconds |
| public int | |
| public NonstopConfiguration | Returns: this configuration instanceSet the value of immediateTimeout |
| public boolean | Returns: true if nonstop is enabled in configReturns true if nonstop is enabled in config |
| public boolean | Returns: true if immediateTimeout is set to trueReturns true if immediateTimeout is set to true |
| public NonstopConfiguration | Returns: this configuration instancethe new value of the search timeout in milliseconds searchTimeoutMillis)Set the value of the search timeout |
| public void | setBulkOpsTimeoutMultiplyFactor(int
the new value bulkOpsTimeoutMultiplyFactor)Sets the value of the multiplication factor for bulk cache operations |
| public void | |
| public void | |
| public void | |
| public void | |
| public NonstopConfiguration | Returns: this configuration instanceSet the value of timeoutBehavior |
| public NonstopConfiguration | Returns: this configuration instancethe new value timeoutMillis)Set the value of timeoutMillis |
| BULK_OPS_TIMEOUT_MULTIPLY_FACTOR | back to summary |
|---|---|
| public static final String BULK_OPS_TIMEOUT_MULTIPLY_FACTOR System Property name for bulk operations multiply factor | |
| bulkOpsTimeoutMultiplyFactor | back to summary |
|---|---|
| private volatile int bulkOpsTimeoutMultiplyFactor | |
| configFrozen | back to summary |
|---|---|
| private volatile boolean configFrozen | |
| DEFAULT_BULK_OP_TIMEOUT_FACTOR | back to summary |
|---|---|
| public static final int DEFAULT_BULK_OP_TIMEOUT_FACTOR Default value of timeout multiplication factor for bulk operations like removeAll or size | |
| DEFAULT_ENABLED | back to summary |
|---|---|
| public static final boolean DEFAULT_ENABLED Default value of nonstop attribute | |
| DEFAULT_IMMEDIATE_TIMEOUT | back to summary |
|---|---|
| public static final boolean DEFAULT_IMMEDIATE_TIMEOUT Default value of immediateTimeout attribute | |
| DEFAULT_SEARCH_TIMEOUT_MILLIS | back to summary |
|---|---|
| public static final int DEFAULT_SEARCH_TIMEOUT_MILLIS Default value of searchTimeoutMillis attribute | |
| DEFAULT_TIMEOUT_BEHAVIOR | back to summary |
|---|---|
| public static final TimeoutBehaviorConfiguration DEFAULT_TIMEOUT_BEHAVIOR Default value of timeoutBehavior attribute | |
| DEFAULT_TIMEOUT_MILLIS | back to summary |
|---|---|
| public static final int DEFAULT_TIMEOUT_MILLIS Default value of timeoutMillis attribute | |
| enabled | back to summary |
|---|---|
| private volatile boolean enabled | |
| immediateTimeout | back to summary |
|---|---|
| private volatile boolean immediateTimeout | |
| searchTimeoutMillis | back to summary |
|---|---|
| private volatile long searchTimeoutMillis | |
| timeoutBehavior | back to summary |
|---|---|
| private TimeoutBehaviorConfiguration timeoutBehavior | |
| timeoutMillis | back to summary |
|---|---|
| private volatile long timeoutMillis | |
| NonstopConfiguration | back to summary |
|---|---|
| public NonstopConfiguration() | |
| addTimeoutBehavior | back to summary |
|---|---|
| public void addTimeoutBehavior(TimeoutBehaviorConfiguration timeoutBehavior) Set the value of timeoutBehavior | |
| clone | back to summary |
|---|---|
| public NonstopConfiguration 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
| |
| enabled | back to summary |
|---|---|
| public NonstopConfiguration enabled(boolean nonstop) Set the value of nonstop
| |
| 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. | |
| freezeConfig | back to summary |
|---|---|
| public void freezeConfig() Freeze the config. Once frozen, 'enabled' can't be changed | |
| getBulkOpsTimeoutMultiplyFactor | back to summary |
|---|---|
| public int getBulkOpsTimeoutMultiplyFactor() returns the time out multiplication factor for bulk cache operations
| |
| getSearchTimeoutMillis | back to summary |
|---|---|
| public long getSearchTimeoutMillis() Returns the value of the search timeout in milliseconds
| |
| getTimeoutBehavior | back to summary |
|---|---|
| public TimeoutBehaviorConfiguration getTimeoutBehavior() Returns value of timeoutBehavior configured
| |
| getTimeoutMillis | back to summary |
|---|---|
| public long getTimeoutMillis() Returns the value of timeout in milliseconds
| |
| 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
| |
| immediateTimeout | back to summary |
|---|---|
| public NonstopConfiguration immediateTimeout(boolean immediateTimeout) Set the value of immediateTimeout
| |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Returns true if nonstop is enabled in config
| |
| isImmediateTimeout | back to summary |
|---|---|
| public boolean isImmediateTimeout() Returns true if immediateTimeout is set to true
| |
| searchTimeoutMillis | back to summary |
|---|---|
| public NonstopConfiguration searchTimeoutMillis(long searchTimeoutMillis) Set the value of the search timeout
| |
| setBulkOpsTimeoutMultiplyFactor | back to summary |
|---|---|
| public void setBulkOpsTimeoutMultiplyFactor(int bulkOpsTimeoutMultiplyFactor) Sets the value of the multiplication factor for bulk cache operations
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enabled) Set the value of nonstop is enabled or not
| |
| setImmediateTimeout | back to summary |
|---|---|
| public void setImmediateTimeout(boolean immediateTimeout) Set the value of immediateTimeout
| |
| setSearchTimeoutMillis | back to summary |
|---|---|
| public void setSearchTimeoutMillis(long searchTimeoutMillis) Set the value of the search timeout
| |
| setTimeoutMillis | back to summary |
|---|---|
| public void setTimeoutMillis(long timeoutMillis) Set the value of timeoutMillis
| |
| timeoutBehavior | back to summary |
|---|---|
| public NonstopConfiguration timeoutBehavior(TimeoutBehaviorConfiguration timeoutBehavior) Set the value of timeoutBehavior
| |
| timeoutMillis | back to summary |
|---|---|
| public NonstopConfiguration timeoutMillis(long timeoutMillis) Set the value of timeoutMillis
| |