org.apache.openjpa.enhance.stats
Class FetchStatsCollector

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

public final class FetchStatsCollector
extends Object

FetchStatsCollector aggregates fetch statistics and outputs the data periodically (10 minutes).


Constructor Summary
FetchStatsCollector()
           
 
Method Summary
static void clear()
           
static void dump()
           
static Set<String> getStatistics()
           
static void hit(String field)
           
static void registerEntity(ClassMetaData cmd)
           
static AtomicInteger registerField(String field)
           
static void setlogger(Log log)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchStatsCollector

public FetchStatsCollector()
Method Detail

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()


Copyright © 2006–2013 Apache Software Foundation. All rights reserved.