@Override
  protected void optimize() {
    Operation firstOp = writeQ.peek();
    if (firstOp instanceof GetOperation) {
      optimizeGets();
    } else if (firstOp instanceof CASOperation) {
      optimizeSets();
    }
  }
Implementation of MemcachedNode for speakers of the binary protocol.
src/main/java/net/spy/memcached/protocol/binary/BinaryMemcachedNodeImpl.java