|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.storage.XQueryMonitor
Class to keep track of all running queries in a database instance. The main
purpose of this class is to signal running queries that the database is going to
shut down. This is done through the XQueryWatchDog
registered by each query. It is up to the query to check the watchdog's state.
If it simply ignores the terminate signal, it will be killed after the shutdown
timeout is reached.
| Constructor Summary | |
XQueryMonitor()
|
|
| Method Summary | |
void |
killAll(long waitTime)
|
void |
queryCompleted(XQueryWatchDog watchdog)
|
void |
queryStarted(XQueryWatchDog watchdog)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XQueryMonitor()
| Method Detail |
public void queryStarted(XQueryWatchDog watchdog)
public void queryCompleted(XQueryWatchDog watchdog)
public void killAll(long waitTime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||