public class LockingComponent<T extends LockingComponent<T>> extends Object
Constructor and Description |
---|
LockingComponent() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
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() |
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.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Integer currentConcurrencyLevel()
public T currentConcurrencyLevel(Integer value)
public Integer numberOfLocksAvailable()
public T numberOfLocksAvailable(Integer value)
public Integer numberOfLocksHeld()
Copyright © 2020 JBoss by Red Hat. All rights reserved.