org.eclipse.persistence.tools.profiler
Class QueryMonitor
java.lang.Object
   org.eclipse.persistence.tools.profiler.QueryMonitor
org.eclipse.persistence.tools.profiler.QueryMonitor
- public class QueryMonitor 
- extends java.lang.Object
Purpose:
 Provide a very simple low overhead means for measuring query executions, and cache hits.
 This can be useful for performance analysis in a complex system.
 This monitor is enabled through the System property "org.eclipse.persistence.querymonitor=true".
 It dumps the number of query cache hits, and executions (misses) once every 100s.
- Author:
- James Sutherland
- Since:
- TopLink 10.1.3
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
cacheHits
public static java.util.Hashtable cacheHits
cacheMisses
public static java.util.Hashtable cacheMisses
dumpTime
public static long dumpTime
shouldMonitor
public static java.lang.Boolean shouldMonitor
QueryMonitor
public QueryMonitor()
shouldMonitor
public static boolean shouldMonitor()
- 
 
checkDumpTime
public static void checkDumpTime()
- 
 
incrementReadObjectHits
public static void incrementReadObjectHits(ReadObjectQuery query)
- 
 
incrementReadObjectMisses
public static void incrementReadObjectMisses(ReadObjectQuery query)
- 
 
incrementReadAllHits
public static void incrementReadAllHits(ReadAllQuery query)
- 
 
incrementReadAllMisses
public static void incrementReadAllMisses(ReadAllQuery query)
- 
 
incrementInsert
public static void incrementInsert(WriteObjectQuery query)
- 
 
incrementUpdate
public static void incrementUpdate(WriteObjectQuery query)
- 
 
incrementDelete
public static void incrementDelete(DeleteObjectQuery query)
-