class ReadThroughCache extends EhcacheDecoratorAdapter {

    @Override
    public Element get(Object key) throws IllegalStateException, CacheException {
        if (isModeGet) {
            return super.getWithLoader(key, null, null);
        }
        return super.get(key);
    }

    public  ReadThroughCache(Ehcache underlyingCache, ReadThroughCacheConfiguration config);

}