Class XProfiler


  • public final class XProfiler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      XProfiler()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static XProfilerObj createObj​(java.lang.Object obj)  
      static void decGauge​(java.lang.String name)  
      static void decGauge​(java.lang.String name, double value)  
      static double getCounter​(java.lang.String name)  
      static double getGauge​(java.lang.String name)  
      static XProfilerTimer getTimer​(java.lang.String name)  
      static void incCounter​(java.lang.String name)  
      static void incCounter​(java.lang.String name, double value)  
      static void incGauge​(java.lang.String name)  
      static void incGauge​(java.lang.String name, double value)  
      static java.util.concurrent.ScheduledFuture<?> scheduleGauge​(java.lang.String name, java.util.function.Supplier<java.lang.Number> func)  
      static void setGauge​(java.lang.String name, double value)  
      • Methods inherited from class java.lang.Object

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

      • XProfiler

        public XProfiler()
    • Method Detail

      • createObj

        public static XProfilerObj createObj​(java.lang.Object obj)
      • getCounter

        public static double getCounter​(java.lang.String name)
      • incCounter

        public static void incCounter​(java.lang.String name)
      • incCounter

        public static void incCounter​(java.lang.String name,
                                      double value)
      • getGauge

        public static double getGauge​(java.lang.String name)
      • setGauge

        public static void setGauge​(java.lang.String name,
                                    double value)
      • incGauge

        public static void incGauge​(java.lang.String name)
      • incGauge

        public static void incGauge​(java.lang.String name,
                                    double value)
      • decGauge

        public static void decGauge​(java.lang.String name)
      • decGauge

        public static void decGauge​(java.lang.String name,
                                    double value)
      • getTimer

        public static XProfilerTimer getTimer​(java.lang.String name)
      • scheduleGauge

        public static java.util.concurrent.ScheduledFuture<?> scheduleGauge​(java.lang.String name,
                                                                            java.util.function.Supplier<java.lang.Number> func)