com.atlassian.jira.web.monitor.watcher
Interface OverdueRequestListener


public interface OverdueRequestListener

Interface for listeners that need to be notified when there are overdue requests.

Since:
v4.3

Method Summary
 void requestsOverdue(List<Request> requests, long overdueThreshold)
          This callback is invoked when there are overdue requests.
 

Method Detail

requestsOverdue

void requestsOverdue(List<Request> requests,
                     long overdueThreshold)
This callback is invoked when there are overdue requests. Note that this method will be called in a different thread than the thread that registers the listener, so any implementations must ensure they are thread-safe.

Parameters:
requests - a List of the Request objects that are overdue
overdueThreshold - the number of ms after which a request is deemed to be overdue


Copyright © 2002-2012 Atlassian. All Rights Reserved.