/**
* 创建redission客户端
*
* @param properties
* @return
*/
@Override
protected RedissonClient createRedissonClient(Map properties) {
Config customConfig = new Config(defaultConfig);
customConfig.setCodec(new SnappyCodec());
return Redisson.create(customConfig);
}
/**
* 创建redission客户端
*
* @param properties
* @return
*/
@Override
protected RedissonClient createRedissonClient(Map properties) {
Config customConfig = new Config(defaultConfig);
customConfig.setCodec(new SnappyCodec());
return Redisson.create(customConfig);
}