docs: private long cleanupTime(W window) {
  		if (windowAssigner.isEventTime()) {
  			long cleanupTime = Math.max(0, window.maxTimestamp() + allowedLateness);
  			return cleanupTime >= window.maxTimestamp() ? cleanupTime : Long.MAX_VALUE;
  		} else {
  			return Math.max(0, window.maxTimestamp());
  		}
  	}