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" or through the persistence.xml property eclipselink.profiler=QueryMonitor. It dumps the number of query cache hits, and executions (misses) once every 100s.
| Modifier and Type | Field and Description |
|---|---|
| public static final Map | |
| public static final Map | |
| public static long | |
| public static Boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static boolean |
| cacheHits | back to summary |
|---|---|
| public static final Map<String, Number> cacheHits | |
| cacheMisses | back to summary |
|---|---|
| public static final Map<String, Number> cacheMisses | |
| dumpTime | back to summary |
|---|---|
| public static long dumpTime | |
| shouldMonitor | back to summary |
|---|---|
| public static Boolean shouldMonitor | |
| QueryMonitor | back to summary |
|---|---|
| public QueryMonitor() | |
| checkDumpTime | back to summary |
|---|---|
| public static void checkDumpTime() | |
| incrementDelete | back to summary |
|---|---|
| public static void incrementDelete(DeleteObjectQuery query) | |
| incrementInsert | back to summary |
|---|---|
| public static void incrementInsert(WriteObjectQuery query) | |
| incrementReadAllHits | back to summary |
|---|---|
| public static void incrementReadAllHits(ReadAllQuery query) | |
| incrementReadAllMisses | back to summary |
|---|---|
| public static void incrementReadAllMisses(ReadAllQuery query) | |
| incrementReadObjectHits | back to summary |
|---|---|
| public static void incrementReadObjectHits(ReadObjectQuery query) | |
| incrementReadObjectMisses | back to summary |
|---|---|
| public static void incrementReadObjectMisses(ReadObjectQuery query) | |
| incrementUpdate | back to summary |
|---|---|
| public static void incrementUpdate(WriteObjectQuery query) | |
| shouldMonitor | back to summary |
|---|---|
| public static boolean shouldMonitor() | |