org.eclipse.persistence.tools.profiler
Class FetchGroupMonitor
java.lang.Object
org.eclipse.persistence.tools.profiler.FetchGroupMonitor
public class FetchGroupMonitor
- extends 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.
- Since:
- TopLink 10.1.3.2
- Author:
- James Sutherland
fetchedAttributes
public static Hashtable fetchedAttributes
shouldMonitor
public static Boolean shouldMonitor
FetchGroupMonitor
public FetchGroupMonitor()
shouldMonitor
public static boolean shouldMonitor()
recordFetchedAttribute
public static void recordFetchedAttribute(Class domainClass,
String attributeName)