@Override
  public void put(E e) throws InterruptedException {
    if (Thread.interrupted()) {
      throw new InterruptedException();
    }
    preAddInterruptibly(e);
    boolean didOp = false;
    try {
      super.put(e);
      didOp = true;
      stats.add();
    } finally {
      if (!didOp) {
        postRemove(e);
      }
    }
  }
Creates new OverflowQueueWithDMStats with a maximum capacity.
geode-core/src/main/java/org/apache/geode/distributed/internal/OverflowQueueWithDMStats.java