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.
Modifier and Type | Field and Description |
---|---|
static Hashtable<Class<?>,Set<String>> |
fetchedAttributes |
static Boolean |
shouldMonitor |
Constructor and Description |
---|
FetchGroupMonitor() |
Modifier and Type | Method and Description |
---|---|
static void |
recordFetchedAttribute(Class<?> domainClass,
String attributeName) |
static boolean |
shouldMonitor() |
public static Boolean shouldMonitor
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.