Class Profiler


  • public class Profiler
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  Profiler.Operation<T>  
    • Constructor Summary

      Constructors 
      Constructor Description
      Profiler()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T profile​(Profiler.Operation<T> op, long timeout, java.lang.String message)  
      • Methods inherited from class java.lang.Object

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

      • Profiler

        public Profiler()
    • Method Detail

      • profile

        public static <T> T profile​(Profiler.Operation<T> op,
                                    long timeout,
                                    java.lang.String message)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception