requestTimeout.cancel();
public void access() { synchronized(this) { _accessed=_bayeux.getNow(); if (_intervalTimeoutTask != null && _intervalTimeoutTask.isScheduled()) { // reschedule the timer even though it may be cancelled next... // it might not be. _intervalTimeoutTask.reschedule(); } } }
public void cancelTimeout(Task timeout) { if (timeout!=null) timeout.cancel(); }
public void cancelIdle(Timeout.Task task) { synchronized (this) { task.cancel(); } }
public void access() { synchronized(this) { // distribute access time in cluster _accessed=_bayeux.getNow(); if (_timeout!=null && _timeout.isScheduled()) { _timeout.reschedule(); } } }
public void cancelTimeout(Task timeout) { if (timeout!=null) timeout.cancel(); }
public void scheduleIdle(Timeout.Task task) { synchronized (this) { if (_idleTimeout.getDuration() <= 0) return; task.schedule(_idleTimeout); } }
void cancelTimeout(Timeout.Task timeout) { synchronized(_timeout) { if (timeout != null) timeout.cancel(); } }
public void access() { synchronized(this) { // distribute access time in cluster _accessed=_bayeux.getNow(); if (_timeout!=null && _timeout.isScheduled()) { _timeout.reschedule(); } } }
/** Cancel the task. * Remove the task from the timeout. */ public void cancel() { Timeout timeout = _timeout; if (timeout!=null) { synchronized (timeout._lock) { unlink(); _timestamp=0; } } }