Package com.networknt.http.client.oauth.cache
-
Interface Summary Interface Description ICacheStrategy An interface to describes a cache strategy. -
Class Summary Class Description LongestExpireCacheStrategy This class is to cache Jwts with "LongestExpire" strategy, which means: When the cache pool meets the capacity and a new jwt with provided key needs to be cached: the token with the longest expiry time will be the last to be replaced, the token with the least expiry time will be the first to be replace.