public interface AuxiliaryCache<K,V> extends ICache<K,V>
ICacheType.CacheType
Modifier and Type | Method and Description |
---|---|
AuxiliaryCacheAttributes |
getAuxiliaryCacheAttributes()
This returns the generic attributes for an auxiliary cache.
|
Set<K> |
getKeySet()
Get a set of the keys for all elements in the auxiliary cache.
|
IStats |
getStatistics() |
void |
setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Every Auxiliary must allow for the use of an event logger.
|
void |
setElementSerializer(IElementSerializer elementSerializer)
Allows you to inject a custom serializer.
|
dispose, get, getCacheName, getMatching, getMultiple, getSize, getStats, getStatus, remove, removeAll, setKeyMatcher, update
getCacheType
Set<K> getKeySet() throws IOException
IOException
- if access to the auxiliary cache failsIStats getStatistics()
AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
void setElementSerializer(IElementSerializer elementSerializer)
elementSerializer
- void setCacheEventLogger(ICacheEventLogger cacheEventLogger)
cacheEventLogger
- Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.