@Override
    protected AbstractCache createCacheInternal(String name, long capacity, long expireAfterWrite,
            long expireAfterAccess, Properties cacheProps) {
        ICache localCache = localCacheFactory != null
                ? localCacheFactory.createCache(name, capacity, expireAfterWrite, expireAfterAccess)
                : null;
        ICache remoteCache = remoteCacheFactory != null ? remoteCacheFactory.createCache(name,
                capacity, expireAfterWrite, expireAfterAccess) : null;
        LocalRemoteCache cache = new LocalRemoteCache();
        cache.setName(name).setCapacity(capacity).setExpireAfterAccess(expireAfterAccess)
                .setExpireAfterWrite(expireAfterWrite).setCacheProperties(cacheProps);
        cache.setLocalCache(localCache).setRemoteCache(remoteCache);
        return cache;
    }
@Override
    protected AbstractCache createCacheInternal(String name, long capacity, long expireAfterWrite,
            long expireAfterAccess, Properties cacheProps) {
        ICache localCache = localCacheFactory != null
                ? localCacheFactory.createCache(name, capacity, expireAfterWrite, expireAfterAccess)
                : null;
        ICache remoteCache = remoteCacheFactory != null ? remoteCacheFactory.createCache(name,
                capacity, expireAfterWrite, expireAfterAccess) : null;
        LocalRemoteCache cache = new LocalRemoteCache();
        cache.setName(name).setCapacity(capacity).setExpireAfterAccess(expireAfterAccess)
                .setExpireAfterWrite(expireAfterWrite).setCacheProperties(cacheProps);
        cache.setLocalCache(localCache).setRemoteCache(remoteCache);
        return cache;
    }
@ Override protected AbstractCache createCacheInternal ( String name , long capacity , long expireAfterWrite , long expireAfterAccess , Properties cacheProps ) { ICache localCache = localCacheFactory != null ? localCacheFactory . createCache ( name , capacity , expireAfterWrite , expireAfterAccess ) : null ; ICache remoteCache = remoteCacheFactory != null ? remoteCacheFactory . createCache ( name , capacity , expireAfterWrite , expireAfterAccess ) : null ; LocalRemoteCache cache = new LocalRemoteCache ( ) ; cache . setName ( name ) . setCapacity ( capacity ) . setExpireAfterAccess ( expireAfterAccess ) . setExpireAfterWrite ( expireAfterWrite ) . setCacheProperties ( cacheProps ) ; cache . setLocalCache ( localCache ) . setRemoteCache ( remoteCache ) ; return cache ; }
{@inheritDoc}
{