Class CachedElement<T>
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.CachedElement<T>
-
public class CachedElement<T> extends java.lang.Object
Cached element is a container of an arbitrary object, enriched with a creation timestamp.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description CachedElement(T element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCreationTs()
T
getElement()
boolean
isExpired(long ttl)
-