Class AIAIntermediaryCache
java.lang.Object
br.ufsc.labsec.commons.utils.cache.Cache<KVCacheable.StringCacheable>
br.ufsc.labsec.commons.utils.aia.AIAIntermediaryCache
- All Implemented Interfaces:
Iterable<CacheEntry<KVCacheable.StringCacheable>>
-
Nested Class Summary
Nested classes/interfaces inherited from class Cache
Cache.Source -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected KVCacheable.StringCacheabledecodeEntry(byte[] encoded) Decodifica um objeto em cache a partir de seus bytesMethods inherited from class Cache
checkExpired, get, getLastAccess, getSource, has, has, iterator, remove, storeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
FILE_TEMPLATE
- See Also:
-
FILTER
- See Also:
-
-
Constructor Details
-
AIAIntermediaryCache
-
-
Method Details
-
decodeEntry
Description copied from class:CacheDecodifica um objeto em cache a partir de seus bytes- Specified by:
decodeEntryin classCache<KVCacheable.StringCacheable>- Parameters:
encoded- Os bytes do objeto- Returns:
- O objeto decodificado
- Throws:
EncodingException- Exceção em caso de erro na decodificação
-