@Addresses(value={"/subsystem=infinispan/cache-container=*/invalidation-cache=*/component=eviction","/subsystem=infinispan/cache-container=*/local-cache=*/component=eviction","/subsystem=infinispan/cache-container=*/replicated-cache=*/component=eviction","/subsystem=infinispan/cache-container=*/distributed-cache=*/component=eviction"}) @Implicit public class EvictionComponent<T extends EvictionComponent<T>> extends Object
| Constructor and Description |
|---|
EvictionComponent() |
| 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() |
Long |
maxEntries()
Maximum number of entries in a cache instance.
|
T |
maxEntries(Long value)
Maximum number of entries in a cache instance.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
strategy()
Sets the cache eviction strategy.
|
T |
strategy(String value)
Sets the cache eviction strategy.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
@ModelNodeBinding(detypedName="evictions") public Long evictions()
public T evictions(Long value)
@ModelNodeBinding(detypedName="max-entries") public Long maxEntries()
public T maxEntries(Long value)
@ModelNodeBinding(detypedName="strategy") public String strategy()
Copyright © 2015 JBoss by Red Hat. All rights reserved.