Class TimeIt


  • public class TimeIt
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeIt()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void logTime​(com.intellij.openapi.diagnostic.Logger LOG, java.lang.String message, java.lang.Runnable runnable)  
      static <T> T logTimedValue​(com.intellij.openapi.diagnostic.Logger LOG, java.lang.String message, java.util.function.Supplier<T> runnable)  
      • Methods inherited from class java.lang.Object

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

      • TimeIt

        public TimeIt()
    • Method Detail

      • logTime

        public static void logTime​(com.intellij.openapi.diagnostic.Logger LOG,
                                   java.lang.String message,
                                   java.lang.Runnable runnable)
      • logTimedValue

        public static <T> T logTimedValue​(com.intellij.openapi.diagnostic.Logger LOG,
                                          java.lang.String message,
                                          java.util.function.Supplier<T> runnable)