Class FetchStatsCollector

java.lang.Object
org.apache.openjpa.enhance.stats.FetchStatsCollector

public final class FetchStatsCollector extends Object
FetchStatsCollector aggregates fetch statistics and outputs the data periodically (10 minutes).
  • Constructor Details

    • FetchStatsCollector

      public FetchStatsCollector()
  • Method Details

    • setlogger

      public static void setlogger(Log log)
    • registerEntity

      public static void registerEntity(ClassMetaData cmd)
    • registerField

      public static AtomicInteger registerField(String field)
    • hit

      public static void hit(String field)
    • getStatistics

      public static Set<String> getStatistics()
    • dump

      public static void dump()
    • clear

      public static void clear()