Class FetchStatsCollector


  • public final class FetchStatsCollector
    extends java.lang.Object
    FetchStatsCollector aggregates fetch statistics and outputs the data periodically (10 minutes).
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clear()  
      static void dump()  
      static java.util.Set<java.lang.String> getStatistics()  
      static void hit​(java.lang.String field)  
      static void registerEntity​(ClassMetaData cmd)  
      static java.util.concurrent.atomic.AtomicInteger registerField​(java.lang.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 java.util.concurrent.atomic.AtomicInteger registerField​(java.lang.String field)
      • hit

        public static void hit​(java.lang.String field)
      • getStatistics

        public static java.util.Set<java.lang.String> getStatistics()
      • dump

        public static void dump()
      • clear

        public static void clear()