public class LockingConfiguration extends Object implements Matchable<LockingConfiguration>, ConfigurationInfo
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 |
Modifier and Type | Method and Description |
---|---|
AttributeSet |
attributes() |
int |
concurrencyLevel()
Concurrency level for lock containers.
|
boolean |
equals(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) |
String |
toString() |
boolean |
useLockStriping()
If true, a pool of shared locks is maintained for all entries that need to be locked.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
subElements
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 ElementDefinition getElementDefinition()
getElementDefinition
in interface BaseConfigurationInfo
ElementDefinition
of the configuration.public int concurrencyLevel()
public IsolationLevel isolationLevel()
public long lockAcquisitionTimeout()
public LockingConfiguration lockAcquisitionTimeout(long timeout)
public boolean useLockStriping()
public AttributeSet attributes()
attributes
in interface BaseConfigurationInfo
AttributeSet
declared by the configuration.Copyright © 2021 JBoss by Red Hat. All rights reserved.