Package org.csstudio.java.thread
Class TimedCacheEntry<VALUETYPE>
java.lang.Object
org.csstudio.java.thread.TimedCacheEntry<VALUETYPE>
Entry in the
TimedCache
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TimedCacheEntry
Initialize- Parameters:
value
- Value of this entryvalid_seconds
- Duration in seconds, how long this entry is valid
-
-
Method Details
-
getValue
- Returns:
- Value of enty
-
getCacheHeader
- Returns:
- Chache header info: Time stamp, expiration time
-
isStillValid
public boolean isStillValid()- Returns:
true
if entry is still valid
-