Math.round((double) limit / oneBufferSize));
}
public void testOptimiezeSetAllBuffers() {
this.optimiezer = new Optimizer(Protocol.Binary);
this.commandFactory = new BinaryCommandFactory();
this.writeQueue = new LinkedTransferQueue<Command>();
this.executingCmds = new LinkedTransferQueue<Command>();
SerializingTranscoder transcoder = new SerializingTranscoder();
for (int i = 0; i < 10; i++) {
Command cmd = this.commandFactory.createSetCommand(