public class LockingConfiguration extends java.lang.Object implements Matchable<LockingConfiguration>
| 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) |
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.
|
public 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 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()
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