Interface CryptoMaterialsCache.DecryptCacheEntry
-
- Enclosing interface:
- CryptoMaterialsCache
public static interface CryptoMaterialsCache.DecryptCacheEntryRepresents an entry in the decrypt cache, and provides methods for manipulating the entry.Note that the DecryptCacheEntry JAva object remains valid even after the cache entry is invalidated or evicted; getResult will still return a valid result, for example.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetEntryCreationTime()DecryptionMaterialsgetResult()Returns the DecryptionMaterials associated with this entry.voidinvalidate()Advises the cache that this entry should be removed from the cache.
-
-
-
Method Detail
-
getResult
DecryptionMaterials getResult()
Returns the DecryptionMaterials associated with this entry.
-
invalidate
void invalidate()
Advises the cache that this entry should be removed from the cache.
-
getEntryCreationTime
long getEntryCreationTime()
- Returns:
- The unix timestamp at which this entry was added to the cache, in milliseconds
-
-