public class ByAccessTimeCache<T extends ByAccessTimeCache<T>> extends Object
Constructor and Description |
---|
ByAccessTimeCache() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
cacheFailures()
Should failures be cached?
|
T |
cacheFailures(Boolean value)
Should failures be cached?
|
Integer |
cacheSize()
The current size of the cache.
|
T |
cacheSize(Integer value)
The current size of the cache.
|
Integer |
evictionTime()
The time in seconds until an entry should be evicted from the cache.
|
T |
evictionTime(Integer value)
The time in seconds until an entry should be evicted from the cache.
|
String |
getKey() |
Integer |
maxCacheSize()
The maximum size of the cache before the oldest items are removed to make
room for new entries.
|
T |
maxCacheSize(Integer value)
The maximum size of the cache before the oldest items are removed to make
room for new entries.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Boolean cacheFailures()
public Integer cacheSize()
public Integer evictionTime()
public T evictionTime(Integer value)
public Integer maxCacheSize()
Copyright © 2020 JBoss by Red Hat. All rights reserved.