public class LockingConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<Integer> |
CONCURRENCY_LEVEL |
static AttributeDefinition<IsolationLevel> |
ISOLATION_LEVEL |
static AttributeDefinition<Long> |
LOCK_ACQUISITION_TIMEOUT |
static AttributeDefinition<Boolean> |
USE_LOCK_STRIPING |
static AttributeDefinition<Boolean> |
WRITE_SKEW_CHECK |
Modifier and Type | Method and Description |
---|---|
AttributeSet |
attributes() |
int |
concurrencyLevel()
Concurrency level for lock containers.
|
boolean |
equals(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 |
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<Integer> CONCURRENCY_LEVEL
public static final AttributeDefinition<IsolationLevel> ISOLATION_LEVEL
public static final AttributeDefinition<Long> LOCK_ACQUISITION_TIMEOUT
public static final AttributeDefinition<Boolean> USE_LOCK_STRIPING
public static final AttributeDefinition<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()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.