List of usage examples for org.springframework.data.redis.connection.jedis JedisClusterConnection JedisClusterConnection
public JedisClusterConnection(JedisCluster cluster, ClusterCommandExecutor executor)
From source file:org.springframework.data.redis.connection.jedis.JedisConnectionFactory.java
@Override public RedisClusterConnection getClusterConnection() { if (cluster == null) { throw new InvalidDataAccessApiUsageException("Cluster is not configured!"); }/*from w w w.j a va 2 s . c o m*/ return new JedisClusterConnection(cluster, clusterCommandExecutor); }