@Override
  public int drainTo(Collection<? super E> c) {
    return drainTo(c, Integer.MAX_VALUE);
  }
@throws UnsupportedOperationException if addition of elements
        is not supported by the specified collection
@throws ClassCastException if the class of an element of this queue
        prevents it from being added to the specified collection
@throws NullPointerException if the specified collection is null
@throws IllegalArgumentException if the specified collection is this
        queue, or some property of an element of this queue prevents
        it from being added to the specified collection
geode-core/src/main/java/org/apache/geode/internal/cache/ForceableLinkedBlockingQueue.java