protected AbstractCache createAndInitCacheInstance(String name, long capacity,
            long expireAfterWrite, long expireAfterAccess, ICacheLoader cacheLoader,
            Properties cacheProps) {
        AbstractCache cache = createCacheInternal(name, capacity, expireAfterWrite,
                expireAfterAccess, cacheProps);
        cache.setCacheLoader(cacheLoader).setCacheFactory(this);
        cache.init();
        return cache;
    }
protected AbstractCache createAndInitCacheInstance(String name, long capacity,
            long expireAfterWrite, long expireAfterAccess, ICacheLoader cacheLoader,
            Properties cacheProps) {
        AbstractCache cache = createCacheInternal(name, capacity, expireAfterWrite,
                expireAfterAccess, cacheProps);
        cache.setCacheLoader(cacheLoader).setCacheFactory(this);
        cache.init();
        return cache;
    }
protected AbstractCache createAndInitCacheInstance ( String name , long capacity , long expireAfterWrite , long expireAfterAccess , ICacheLoader cacheLoader , Properties cacheProps ) { AbstractCache cache = createCacheInternal ( name , capacity , expireAfterWrite , expireAfterAccess , cacheProps ) ; cache . setCacheLoader ( cacheLoader ) . setCacheFactory ( this ) ; cache . init ( ) ; return cache ; }
Creates and initializes an {@link ICache} instance, ready for use.

@param name
@param capacity
@param expireAfterWrite
@param expireAfterAccess
@param cacheLoader
@param cacheProps
@return
Creates and initializes an { @link ICache } instance ready for use .