Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.tools.profiler
Class FetchGroupMonitor

java.lang.Object
  extended by 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.

Since:
TopLink 10.1.3.2
Author:
James Sutherland

Field Summary
static java.util.Hashtable fetchedAttributes
           
static java.lang.Boolean shouldMonitor
           

 

Constructor Summary
FetchGroupMonitor()
           

 

Method Summary
static void recordFetchedAttribute(java.lang.Class domainClass, java.lang.String attributeName)
           
static boolean shouldMonitor()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

fetchedAttributes

public static java.util.Hashtable fetchedAttributes

shouldMonitor

public static java.lang.Boolean shouldMonitor

Constructor Detail

FetchGroupMonitor

public FetchGroupMonitor()

Method Detail

shouldMonitor

public static boolean shouldMonitor()

recordFetchedAttribute

public static void recordFetchedAttribute(java.lang.Class domainClass,
                                          java.lang.String attributeName)

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.