Class KVCacheable<V>
java.lang.Object
br.ufsc.labsec.commons.utils.cache.KVCacheable<V>
- Type Parameters:
V-
- All Implemented Interfaces:
Cacheable, org.bouncycastle.util.Encodable
- Direct Known Subclasses:
KVCacheable.ByteArrayCacheable, KVCacheable.EncodableCacheable, KVCacheable.StringCacheable, PKCS12CertificateCollectionImpl.CertificateCacheable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classKVCacheable.EncodableCacheable<V extends org.bouncycastle.util.Encodable>static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetorna a chave que o objeto da cache está sendo identificado no mapeamento para o objeto em disco e em memória.getValue()voidsetCacheKey(String cacheKey) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bouncycastle.util.Encodable
getEncoded
-
Constructor Details
-
KVCacheable
-
-
Method Details
-
getCacheKey
Description copied from interface:CacheableRetorna a chave que o objeto da cache está sendo identificado no mapeamento para o objeto em disco e em memória.- Specified by:
getCacheKeyin interfaceCacheable- Returns:
- A chave do objeto
-
setCacheKey
-
getValue
-