public class LockingConfiguration extends java.lang.Object implements Matchable<LockingConfiguration>, ConfigurationInfo
| Modifier and Type | Field and Description |
|---|---|
static AttributeDefinition<java.lang.Integer> |
CONCURRENCY_LEVEL |
static AttributeDefinition<IsolationLevel> |
ISOLATION_LEVEL |
static AttributeDefinition<java.lang.Long> |
LOCK_ACQUISITION_TIMEOUT |
static AttributeDefinition<java.lang.Boolean> |
USE_LOCK_STRIPING |
static AttributeDefinition<java.lang.Boolean> |
WRITE_SKEW_CHECK |
| Modifier and Type | Method and Description |
|---|---|
AttributeSet |
attributes() |
int |
concurrencyLevel()
Concurrency level for lock containers.
|
boolean |
equals(java.lang.Object obj) |
ElementDefinition |
getElementDefinition() |
int |
hashCode() |
IsolationLevel |
isolationLevel()
Cache isolation level.
|
long |
lockAcquisitionTimeout()
Maximum time to attempt a particular lock acquisition
|
LockingConfiguration |
lockAcquisitionTimeout(long timeout) |
boolean |
supportsConcurrentUpdates()
Deprecated.
this option is always
true and cannot be modified since version 5.3 |
java.lang.String |
toString() |
boolean |
useLockStriping()
If true, a pool of shared locks is maintained for all entries that need to be locked.
|
boolean |
writeSkewCheck()
Deprecated.
since 9.0.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitsubElementspublic static final AttributeDefinition<java.lang.Integer> CONCURRENCY_LEVEL
public static final AttributeDefinition<IsolationLevel> ISOLATION_LEVEL
public static final AttributeDefinition<java.lang.Long> LOCK_ACQUISITION_TIMEOUT
public static final AttributeDefinition<java.lang.Boolean> USE_LOCK_STRIPING
public static final AttributeDefinition<java.lang.Boolean> WRITE_SKEW_CHECK
public ElementDefinition getElementDefinition()
getElementDefinition in interface BaseConfigurationInfoElementDefinition of the configuration.public int concurrencyLevel()
@Deprecated public boolean supportsConcurrentUpdates()
true and cannot be modified since version 5.3public IsolationLevel isolationLevel()
public long lockAcquisitionTimeout()
public LockingConfiguration lockAcquisitionTimeout(long timeout)
public boolean useLockStriping()
@Deprecated public boolean writeSkewCheck()
public AttributeSet attributes()
attributes in interface BaseConfigurationInfoAttributeSet declared by the configuration.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object