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 |
|---|---|
| public static Hashtable | |
| public static Boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static boolean |
| fetchedAttributes | back to summary |
|---|---|
| public static Hashtable<Class<?>, Set<String>> fetchedAttributes | |
| shouldMonitor | back to summary |
|---|---|
| public static Boolean shouldMonitor | |
| FetchGroupMonitor | back to summary |
|---|---|
| public FetchGroupMonitor() | |
| recordFetchedAttribute | back to summary |
|---|---|
| public static void recordFetchedAttribute(Class<?> domainClass, String attributeName) | |
| shouldMonitor | back to summary |
|---|---|
| public static boolean shouldMonitor() | |