ddth-cache-adapter-core/src/main/java/com/github/ddth/cacheadapter/AbstractSerializingCacheFactory.java
@Override
    protected AbstractSerializingCache createAndInitCacheInstance(String name, long capacity,
            long expireAfterWrite, long expireAfterAccess, ICacheLoader cacheLoader,
            Properties cacheProps) {
        AbstractSerializingCache cache = createCacheInternal(name, capacity, expireAfterWrite,
                expireAfterAccess, cacheProps);
        cache.setCacheEntrySerializer(cacheEntrySerializer).setCacheLoader(cacheLoader)
                .setCacheFactory(this);
        cache.init();
        return cache;
    }
@Override
    protected AbstractSerializingCache createAndInitCacheInstance(String name, long capacity,
            long expireAfterWrite, long expireAfterAccess, ICacheLoader cacheLoader,
            Properties cacheProps) {
        AbstractSerializingCache cache = createCacheInternal(name, capacity, expireAfterWrite,
                expireAfterAccess, cacheProps);
        cache.setCacheEntrySerializer(cacheEntrySerializer).setCacheLoader(cacheLoader)
                .setCacheFactory(this);
        cache.init();
        return cache;
    }
{@inheritDoc}