Interface TimeTracker

  • All Superinterfaces:
    com.dassault_systemes.modeler.foundation.util.TimeTracker

    public interface TimeTracker
    extends com.dassault_systemes.modeler.foundation.util.TimeTracker
    Collect times of operations and dump longest of them.
    • Method Detail

      • start

        TimeTracker.TrackedOperation start​(java.lang.Object operationName)
        Start operation
        Specified by:
        start in interface com.dassault_systemes.modeler.foundation.util.TimeTracker
        Parameters:
        operationName - operation identifier
        Returns:
        operation
      • start

        TimeTracker.TrackedOperation start​(java.util.function.Supplier<java.lang.Object> operationName)
        Start operation
        Specified by:
        start in interface com.dassault_systemes.modeler.foundation.util.TimeTracker
        Parameters:
        operationName - operation identifier
        Returns:
        operation