Class EHCacheExpiry

  • All Implemented Interfaces:
    org.ehcache.expiry.ExpiryPolicy<String,​EHCacheValue>

    public class EHCacheExpiry
    extends Object
    implements org.ehcache.expiry.ExpiryPolicy<String,​EHCacheValue>
    A custom Expiry implementation for EhCache. It uses the supplied expiry which is part of the cache value. If it doesn't exist, it falls back to the default value (3600 seconds).