public class LockingComponent extends Object
| Constructor and Description |
|---|
LockingComponent() |
| Modifier and Type | Method and Description |
|---|---|
Long |
acquireTimeout()
Maximum time to attempt a particular lock acquisition.
|
LockingComponent |
acquireTimeout(Long value)
Maximum time to attempt a particular lock acquisition.
|
Integer |
concurrencyLevel()
Concurrency level for lock containers.
|
LockingComponent |
concurrencyLevel(Integer value)
Concurrency level for lock containers.
|
Integer |
currentConcurrencyLevel()
The estimated number of concurrently updating threads which this cache can support.
|
LockingComponent |
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.
|
LockingComponent |
isolation(String value)
Sets the cache locking isolation level.
|
Integer |
numberOfLocksAvailable()
The number of locks available to this cache.
|
LockingComponent |
numberOfLocksAvailable(Integer value)
The number of locks available to this cache.
|
Integer |
numberOfLocksHeld()
The number of locks currently in use by this cache.
|
LockingComponent |
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.
|
LockingComponent |
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 LockingComponent acquireTimeout(Long value)
public Integer concurrencyLevel()
public LockingComponent concurrencyLevel(Integer value)
public Integer currentConcurrencyLevel()
public LockingComponent currentConcurrencyLevel(Integer value)
public String isolation()
public LockingComponent isolation(String value)
public Integer numberOfLocksAvailable()
public LockingComponent numberOfLocksAvailable(Integer value)
public Integer numberOfLocksHeld()
public LockingComponent numberOfLocksHeld(Integer value)
public Boolean striping()
public LockingComponent striping(Boolean value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.