docs: int refreshAndGetMin() {
  		int min = Integer.MAX_VALUE;
  
  		Collection<InputChannel> channels = inputGate.getInputChannels().values();
  
  		for (InputChannel channel : channels) {
  			if (channel instanceof RemoteInputChannel) {
  				RemoteInputChannel rc = (RemoteInputChannel) channel;
  
  				int size = rc.unsynchronizedGetNumberOfQueuedBuffers();
  				min = Math.min(min, size);
  			}
  		}
  
  		if (min == Integer.MAX_VALUE) { // in case all channels are local, or the channel collection was empty
  			return 0;
  		}
  		return min;
  	}