Class TimerUtil


  • public class TimerUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long lastNow  
      private static java.util.Map<java.lang.String,​java.lang.Long> timestampMap  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimerUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void timerEnd​(java.lang.String key)  
      static void timerStart​(java.lang.String key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timestampMap

        private static java.util.Map<java.lang.String,​java.lang.Long> timestampMap
      • lastNow

        private static long lastNow
    • Constructor Detail

      • TimerUtil

        public TimerUtil()
    • Method Detail

      • timerStart

        public static void timerStart​(java.lang.String key)
      • timerEnd

        public static void timerEnd​(java.lang.String key)