@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { return JedisConverters .toListOfRedisClientInformation(executeCommandOnSingleNode(Jedis::clientList, node).getValue()); }
@Override public List<RedisClientInfo> getClientList() { Collection<String> map = connection.getClusterCommandExecutor() .executeCommandOnAllNodes((JedisClusterCommandCallback<String>) Jedis::clientList).resultsAsList(); ArrayList<RedisClientInfo> result = new ArrayList<>(); for (String infos : map) { result.addAll(JedisConverters.toListOfRedisClientInformation(infos)); } return result; }
@Override public List<RedisClientInfo> getClientList() { if (isQueueing() || isPipelined()) { throw new UnsupportedOperationException("'CLIENT LIST' is not supported in in pipeline / multi mode."); } return JedisConverters.toListOfRedisClientInformation(this.connection.getJedis().clientList()); }
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { return JedisConverters .toListOfRedisClientInformation(executeCommandOnSingleNode(BinaryJedis::clientList, node).getValue()); }
@Override public List<RedisClientInfo> getClientList() { Collection<String> map = connection.getClusterCommandExecutor() .executeCommandOnAllNodes((JedisClusterCommandCallback<String>) BinaryJedis::clientList).resultsAsList(); ArrayList<RedisClientInfo> result = new ArrayList<>(); for (String infos : map) { result.addAll(JedisConverters.toListOfRedisClientInformation(infos)); } return result; }
@Override public List<RedisClientInfo> getClientList() { Collection<String> map = connection.getClusterCommandExecutor() .executeCommandOnAllNodes((JedisClusterCommandCallback<String>) BinaryJedis::clientList).resultsAsList(); ArrayList<RedisClientInfo> result = new ArrayList<>(); for (String infos : map) { result.addAll(JedisConverters.toListOfRedisClientInformation(infos)); } return result; }
@Override public List<RedisClientInfo> getClientList(RedisClusterNode node) { return JedisConverters .toListOfRedisClientInformation(executeCommandOnSingleNode(BinaryJedis::clientList, node).getValue()); }
@Override public List<RedisClientInfo> getClientList() { if (isQueueing() || isPipelined()) { throw new UnsupportedOperationException("'CLIENT LIST' is not supported in in pipeline / multi mode."); } return JedisConverters.toListOfRedisClientInformation(this.connection.getJedis().clientList()); }
@Override public List<RedisClientInfo> getClientList() { if (isQueueing() || isPipelined()) { throw new UnsupportedOperationException("'CLIENT LIST' is not supported in in pipeline / multi mode."); } return JedisConverters.toListOfRedisClientInformation(this.connection.getJedis().clientList()); }