Package com.kheops.util
Class KMemoryDataCache.CachedData
java.lang.Object
com.kheops.util.KMemoryDataCache.CachedData
- Enclosing class:
- KMemoryDataCache
This inner-class encapsutale the concept of cache
 It constains the data as well as the amount of time that the data
 can remain in memory before it becomes expired
- 
Constructor SummaryConstructorsConstructorDescriptionCachedData(byte[] data, long expiration) Construct CachedData instance with the specified parameters
- 
Method Summary
- 
Constructor Details- 
CachedDatapublic CachedData(byte[] data, long expiration) Construct CachedData instance with the specified parameters- Parameters:
- data- the byte array containing the data
- expiration- the expiration date of the data in the cache
- See Also:
 
 
- 
- 
Method Details- 
isExpiredpublic boolean isExpired()Checks if this cached data has expired- Returns:
- the boolean value result
 
 
-