Class TimeTrackerFactory.DummyTimeTracker

    • Constructor Detail

      • DummyTimeTracker

        private DummyTimeTracker()
    • Method Detail

      • start

        public TimeTracker.TrackedOperation start​(java.util.function.Supplier<java.lang.Object> operationName)
        Description copied from interface: TimeTracker
        Start operation
        Specified by:
        start in interface TimeTracker
        Parameters:
        operationName - operation identifier
        Returns:
        operation
      • dumpLongest

        public void dumpLongest​(int count)
        Description copied from interface: TimeTracker
        Dump longest operations
        Specified by:
        dumpLongest in interface TimeTracker
        Parameters:
        count - number of longest operations to dump
      • getAllTimePassedMillis

        public long getAllTimePassedMillis()
        Specified by:
        getAllTimePassedMillis in interface TimeTracker
        Returns:
        passed time from very first operation