List of usage examples for org.springframework.data.redis.connection.jedis JedisConverters stringListToByteList
public static ListConverter<String, byte[]> stringListToByteList()
From source file:org.springframework.data.redis.connection.jedis.JedisClusterConnection.java
@Override public List<byte[]> clusterGetKeysInSlot(int slot, Integer count) { RedisClusterNode node = clusterGetNodeForSlot(slot); clusterCommandExecutor// ww w . j a v a2s . c o m .executeCommandOnSingleNode((JedisClusterCommandCallback<List<byte[]>>) client -> JedisConverters .stringListToByteList().convert(client.clusterGetKeysInSlot(slot, count != null ? count.intValue() : Integer.MAX_VALUE)), node); return null; }