byte[] keybytes = null;
if((keybytes = getKeyBytes(key)) == null)
throw new IllegalArgumentException ("invalid key => ["+key+"]");
final JRedisFutureSupport client = this;
Sort sortQuery = new SortSupport (key, keybytes) {
// @Override
protected Future<List<byte[]>> execAsynchSort(byte[] keyBytes, byte[] sortSpecBytes) {
return new FutureByteArrayList(client.queueRequest(Command.SORT, keyBytes, sortSpecBytes));
}
protected List<byte[]> execSort(byte[] keyBytes, byte[] sortSpecBytes) {