Bug 294303 [Markers] 'Queuing Viewer Updates' in Problems view
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkersChangeListener.java
}
			} else {
				
				if (updateTimeGap < LONG_DELAY) {
					go(TIME_OUT - updateTimeGap, cancelable);
				} else {
					go(TIME_OUT - updateTimeGap, false);
				}
			}
		}
		/**
		 * Checks if a time-out is valid,or if its just a period of inactivity.
		 * NOTE:This is PURELY an optimization and can be omitted.
		 */
		private boolean isValidTimeOut(long startTime, long currentTime) {
			
			if (timeB4Update != -1 && startTime > timeB4Update) {
				/*
				 * The last scheduled update finished.This is not an actual
				 * TIME_OUT.Possible that we have not updated for a long
				 * interval.Lets make this update cancelable anyway.Reset timer.
				 */
				timerValidStart = currentTime;
				return false;
			} else if ((currentTime - timerValidStart) < (TIME_OUT)) {
				return false;
			} else {
				/*
				 * Do not update internal value we only use this for
				 * checking valid TIME_OUTs