ddth-cache-adapter-core/src/main/java/com/github/ddth/cacheadapter/cacheimpl/redis/RedisCacheFactory.java
@Override
    protected RedisCache createCacheInternal(String name, long capacity, long expireAfterWrite,
            long expireAfterAccess, Properties cacheProps) {
        RedisCache cache = new RedisCache(keyMode);
        cache.setName(name).setCapacity(capacity).setExpireAfterAccess(expireAfterAccess)
                .setExpireAfterWrite(expireAfterWrite).setCacheProperties(cacheProps);
        cache.setRedisHostAndPort(redisHostAndPort).setRedisPassword(getRedisPassword());
        cache.setJedisConnector(getJedisConnector());
        return cache;
    }
@Override
    protected RedisCache createCacheInternal(String name, long capacity, long expireAfterWrite,
            long expireAfterAccess, Properties cacheProps) {
        RedisCache cache = new RedisCache(keyMode);
        cache.setName(name).setCapacity(capacity).setExpireAfterAccess(expireAfterAccess)
                .setExpireAfterWrite(expireAfterWrite).setCacheProperties(cacheProps);
        cache.setRedisHostAndPort(redisHostAndPort).setRedisPassword(getRedisPassword());
        cache.setJedisConnector(getJedisConnector());
        return cache;
    }
{@inheritDoc}