Package com.nomagic.magicdraw.uml2.util
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TimeTracker.TrackedOperation
Operation to track
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeTracker.TrackedOperation
start(java.lang.Object operationName)
Start operationTimeTracker.TrackedOperation
start(java.util.function.Supplier<java.lang.Object> operationName)
Start operation
-
-
-
Method Detail
-
start
TimeTracker.TrackedOperation start(java.lang.Object operationName)
Start operation- Specified by:
start
in interfacecom.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 interfacecom.dassault_systemes.modeler.foundation.util.TimeTracker
- Parameters:
operationName
- operation identifier- Returns:
- operation
-
-