for (IoBuffer buffer : this.bufferList) {
byte[] ba = buffer.array();
System.arraycopy(ba, 0, buf, offset, ba.length);
offset += ba.length;
}
BinarySetMultiCommand resultCommand = new BinarySetMultiCommand(
null, CommandType.SET_MANY, new CountDownLatch(1));
resultCommand.setIoBuffer(IoBuffer.wrap(buf));
resultCommand.setMergeCommands(this.mergeCommands);
resultCommand.setMergeCount(this.mergeCommands.size());
return resultCommand;
}