Package com.globalmentor.cache
Class Cache.Data<VV>
java.lang.Object
com.globalmentor.cache.Cache.Data<VV>
- Type Parameters:
VV
- The type of value stored in the cache.
- Direct Known Subclasses:
AbstractFileCache.FileData
Class for storing a value along with its expiration information and other information.
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Data
Value constructor.- Parameters:
value
- The value to store.
-
-
Method Details
-
getCachedTime
public long getCachedTime()- Returns:
- The time the cached information was created.
-
getValue
- Returns:
- The value being stored.
-