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()
Deprecated.
Deprecated. Use corresponding metric on parent resource.
|
T |
evictions(Long value)
Deprecated.
Deprecated. Use corresponding metric on parent resource.
|
String |
getKey() |
Long |
maxEntries()
Deprecated.
Deprecated. Use the size attribute instead.
|
T |
maxEntries(Long value)
Deprecated.
Deprecated. Use the size attribute instead.
|
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.
|
String |
strategy()
Deprecated.
Deprecated. Eviction uses LRU and is disabled via undefining
the size attribute.
|
T |
strategy(String value)
Deprecated.
Deprecated. Eviction uses LRU and is disabled via undefining
the size attribute.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@Deprecated public Long evictions()
@Deprecated public T evictions(Long value)
@Deprecated public Long maxEntries()
@Deprecated public T maxEntries(Long value)
public Long size()
public T size(Long value)
@Deprecated public String strategy()
@Deprecated public T strategy(String value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.