class RefreshAheadCache extends EhcacheDecoratorAdapter {

    @Override
    public Element get(Object key) throws IllegalStateException, CacheException {
        Element elem = super.get(key);
        possiblyTriggerRefresh(elem, refreshAheadConfig.getTimeToRefreshMillis());
        return elem;
    }

    public  RefreshAheadCache(Ehcache adaptedCache, RefreshAheadCacheConfiguration refreshConfig);

}