Class LRUCacheEntry<T>
java.lang.Object
fr.gouv.vitam.storage.offers.tape.cache.LRUCacheEntry<T>
- Type Parameters:
T- the type of entry keys maintained by the cache.
Cache entry of
LRUCache.
Instances of this class are immutable.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LRUCacheEntry
- Parameters:
key- entry keyweight- the weight of the cache entry to be reserved.lastAccessInstant- last used instant of the entry.- Throws:
IllegalArgumentException- when provided parameters have illegal values.
-
-
Method Details
-
getKey
-
getWeight
public long getWeight() -
getLastAccessInstant
-