public class ObjectMemory<T extends ObjectMemory<T>> extends Object
Constructor and Description |
---|
ObjectMemory() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Long |
evictions()
The number of cache eviction operations.
|
T |
evictions(Long value)
The number of cache eviction operations.
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
size()
Triggers eviction of the least recently used entries when the number of
cache entries exceeds this threshold.
|
T |
size(Long value)
Triggers eviction of the least recently used entries when the number of
cache entries exceeds this threshold.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long evictions()
public T evictions(Long value)
public Long size()
Copyright © 2019 JBoss by Red Hat. All rights reserved.