ddth-cache-adapter-core/src/main/java/com/github/ddth/cacheadapter/AbstractCacheFactory.java
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