Interface CryptoMaterialsCache.DecryptCacheEntry
- Enclosing interface:
- CryptoMaterialsCache
public static interface CryptoMaterialsCache.DecryptCacheEntry
Represents 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
Modifier and TypeMethodDescriptionlong
Returns the DecryptionMaterials associated with this entry.void
Advises the cache that this entry should be removed from the cache.
-
Method Details
-
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
-