List of usage examples for org.apache.wicket.ajax AjaxSelfUpdatingTimerBehavior stop
public final void stop(final IPartialPageRequestHandler target)
From source file:com.axway.ats.testexplorer.pages.model.CopyJobThread.java
License:Apache License
protected void stopConsoleUpdateTimers() { // Stopping the console timers, but first wait for the last polling update try {// w ww . j a va 2 s . co m sleep(consoleUpdateTimers.get(0).getUpdateInterval().getMilliseconds()); } catch (InterruptedException e) { LOG.error("CopyJobThread '" + getName() + ", " + getId() + " interrupted while waiting for the last polling update."); } for (AjaxSelfUpdatingTimerBehavior consoleUpdateTimer : consoleUpdateTimers) { consoleUpdateTimer.stop(null); } }