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.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Long evictions()
public T evictions(Long value)
public Long maxEntries()
public T maxEntries(Long value)
public EvictionComponent.Strategy strategy()
public T strategy(EvictionComponent.Strategy value)
Copyright © 2018 JBoss by Red Hat. All rights reserved.