Class FetchGroupMonitor
java.lang.Object
org.eclipse.persistence.tools.profiler.FetchGroupMonitor
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
recordFetchedAttribute
(Class<?> domainClass, String attributeName) static boolean
-
Field Details
-
fetchedAttributes
-
shouldMonitor
-
-
Constructor Details
-
FetchGroupMonitor
public FetchGroupMonitor()
-
-
Method Details
-
shouldMonitor
public static boolean shouldMonitor() -
recordFetchedAttribute
-