int size() {
        int totalQueueSize = 0;
        int numQueues = 0;
        for (Map.Entry<ApplicationId, BlockingQueue<DelayedConfigResponse>> e : delayedResponses.entrySet()) {
            numQueues++;
            totalQueueSize+=e.getValue().size();
        }
        return (numQueues > 0) ? (totalQueueSize / numQueues) : 0;
    }
Drains delayed responses queue and returns responses in an array

@return and array of DelayedConfigResponse objects
configserver/src/main/java/com/yahoo/vespa/config/server/rpc/DelayedConfigResponses.java