public class ComponentLocking<T extends ComponentLocking> extends Object
| Constructor and Description |
|---|
ComponentLocking() |
| Modifier and Type | Method and Description |
|---|---|
Long |
acquireTimeout()
Maximum time to attempt a particular lock acquisition.
|
T |
acquireTimeout(Long value)
Maximum time to attempt a particular lock acquisition.
|
Integer |
concurrencyLevel()
Concurrency level for lock containers.
|
T |
concurrencyLevel(Integer value)
Concurrency level for lock containers.
|
Integer |
currentConcurrencyLevel()
The estimated number of concurrently updating threads which this cache can support.
|
T |
currentConcurrencyLevel(Integer value)
The estimated number of concurrently updating threads which this cache can support.
|
String |
getKey() |
String |
isolation()
Sets the cache locking isolation level.
|
T |
isolation(String value)
Sets the cache locking isolation level.
|
Integer |
numberOfLocksAvailable()
The number of locks available to this cache.
|
T |
numberOfLocksAvailable(Integer value)
The number of locks available to this cache.
|
Integer |
numberOfLocksHeld()
The number of locks currently in use by this cache.
|
T |
numberOfLocksHeld(Integer value)
The number of locks currently in use by this cache.
|
Boolean |
striping()
If true, a pool of shared locks is maintained for all entries that need to be locked.
|
T |
striping(Boolean value)
If true, a pool of shared locks is maintained for all entries that need to be locked.
|
public String getKey()
public Long acquireTimeout()
public T acquireTimeout(Long value)
public Integer concurrencyLevel()
public T concurrencyLevel(Integer value)
public Integer currentConcurrencyLevel()
public T currentConcurrencyLevel(Integer value)
public String isolation()
public Integer numberOfLocksAvailable()
public T numberOfLocksAvailable(Integer value)
public Integer numberOfLocksHeld()
public T numberOfLocksHeld(Integer value)
public Boolean striping()
Copyright © 2015 JBoss by Red Hat. All rights reserved.