Package org.intermine.web.logic.query
Class PageTableQueryMonitor
- java.lang.Object
-
- org.intermine.web.logic.query.QueryMonitorTimeout
-
- org.intermine.web.logic.query.PageTableQueryMonitor
-
- All Implemented Interfaces:
QueryMonitor
public class PageTableQueryMonitor extends QueryMonitorTimeout
An implementation of QueryMonitor that maintains a timeout and remembers which PagedTable it is monitoring- Author:
- Kim Rutherford
-
-
Field Summary
-
Fields inherited from class org.intermine.web.logic.query.QueryMonitorTimeout
lastTickle, n, tickleCount
-
-
Constructor Summary
Constructors Constructor Description PageTableQueryMonitor(int n, PagedTable pt)
Construct a new instance of QueryMonitorTimeout.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagedTable
getPagedTable()
Return the PagedTable that was passed to the constructor.-
Methods inherited from class org.intermine.web.logic.query.QueryMonitorTimeout
getPathQuery, getTickleCount, isCancelled, isCancelledWithError, isCompleted, queryCancelled, queryCancelledWithError, queryCompleted, setPathQuery, shouldCancelQuery, tickle
-
-
-
-
Constructor Detail
-
PageTableQueryMonitor
public PageTableQueryMonitor(int n, PagedTable pt)
Construct a new instance of QueryMonitorTimeout.- Parameters:
n
- the number of milliseconds to timeout afterpt
- the PagedTable that we are monitoring
-
-
Method Detail
-
getPagedTable
public final PagedTable getPagedTable()
Return the PagedTable that was passed to the constructor.- Returns:
- the PagedTable
-
-