Package tigase.pubsub.utils
Interface Cache<K,V>
- All Superinterfaces:
tigase.stats.StatisticHolder
- All Known Implementing Classes:
LRUCache
,LRUCacheWithFuture
public interface Cache<K,V>
extends tigase.stats.StatisticHolder
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static interface
-
Method Summary
Methods inherited from interface tigase.stats.StatisticHolder
everyHour, everyMinute, everySecond, getStatistics, setStatisticsPrefix, statisticExecutedIn
-
Method Details
-
computeIfAbsent
- Throws:
Cache.CacheException
-
get
-
put
-
putIfAbsent
-
remove
-
keySet
-
values
-
size
int size() -
setMaxSize
void setMaxSize(int maxSize)
-