Class FetchGroupMonitor
- java.lang.Object
-
- org.eclipse.persistence.tools.profiler.FetchGroupMonitor
-
public class FetchGroupMonitor extends java.lang.Object
Purpose: Provide a very simple low overhead means for measuring fetch group field usage. This can be useful for performance analysis in a complex system. This monitor is enabled through the System property "org.eclipse.persistence.fetchgroupmonitor=true". It dumps the attribute used for a class every time a new attribute is accessed.
- Author:
- James Sutherland
- Since:
- TopLink 10.1.3.2
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Hashtable
fetchedAttributes
static java.lang.Boolean
shouldMonitor
-
Constructor Summary
Constructors Constructor Description FetchGroupMonitor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
recordFetchedAttribute(java.lang.Class domainClass, java.lang.String attributeName)
static boolean
shouldMonitor()
-