Class CacheableString
- java.lang.Object
-
- fish.payara.microprofile.jwtauth.eesecurity.CacheableString
-
public class CacheableString extends Object
-
-
Constructor Summary
Constructors Constructor Description CacheableString()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CacheableStringempty(Duration cacheTTL)static CacheableStringfrom(String value, Duration cacheTTL)DurationgetCacheTTL()Optional<String>getValue()booleanisPresent()
-
-
-
Method Detail
-
empty
public static CacheableString empty(Duration cacheTTL)
-
from
public static CacheableString from(String value, Duration cacheTTL)
-
getCacheTTL
public Duration getCacheTTL()
-
isPresent
public boolean isPresent()
-
-