public void setBlockingQueueCapacity(int cap) {
    blockingQueueCapacity = cap;
  }
Sets the capacity of the queue

@param cap number of items allowed in the queue
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueueAttributes.java