@Addresses(value={"/subsystem=infinispan/cache-container=*/invalidation-cache=*/memory=object","/subsystem=infinispan/cache-container=*/local-cache=*/memory=object","/subsystem=infinispan/cache-container=*/replicated-cache=*/memory=object","/subsystem=infinispan/cache-container=*/distributed-cache=*/memory=object","/subsystem=infinispan/cache-container=*/scattered-cache=*/memory=object"}) @Implicit public class ObjectMemory<T extends ObjectMemory<T>> extends Object implements Keyed
| 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 void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@Deprecated @ModelNodeBinding(detypedName="evictions") public Long evictions()
@Deprecated public T evictions(Long value)
@Deprecated @ModelNodeBinding(detypedName="max-entries") public Long maxEntries()
@Deprecated public T maxEntries(Long value)
@ModelNodeBinding(detypedName="size") public Long size()
public T size(Long value)
@Deprecated @ModelNodeBinding(detypedName="strategy") public String strategy()
@Deprecated public T strategy(String value)
Copyright © 2020 JBoss by Red Hat. All rights reserved.