@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
Modifier and Type | Class and Description |
---|---|
static class |
EvictionComponent.Strategy |
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
|
EvictionComponent.Strategy |
strategy()
Sets the cache eviction strategy.
|
T |
strategy(EvictionComponent.Strategy value)
Sets the cache eviction strategy.
|
T |
strategy(String strategy)
Deprecated.
|
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)
@Deprecated public T strategy(String strategy)
@ModelNodeBinding(detypedName="strategy") public EvictionComponent.Strategy strategy()
public T strategy(EvictionComponent.Strategy value)
Copyright © 2016 JBoss by Red Hat. All rights reserved.