Package com.nomagic.magicdraw.uml2.util
Class TimeTrackerFactory.DummyTimeTracker
- java.lang.Object
 - 
- com.nomagic.magicdraw.uml2.util.TimeTrackerFactory.DummyTimeTracker
 
 
- 
- All Implemented Interfaces:
 TimeTracker
- Enclosing class:
 - TimeTrackerFactory
 
private static class TimeTrackerFactory.DummyTimeTracker extends java.lang.Object implements TimeTracker
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.nomagic.magicdraw.uml2.util.TimeTracker
TimeTracker.TrackedOperation 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description private static TimeTracker.TrackedOperationOPERATION 
- 
Constructor Summary
Constructors Modifier Constructor Description privateDummyTimeTracker() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddumpLongest(int count)Dump longest operationslonggetAllTimePassedMillis()TimeTracker.TrackedOperationstart(java.lang.Object operationName)Start operationTimeTracker.TrackedOperationstart(java.util.function.Supplier<java.lang.Object> operationName)Start operation 
 - 
 
- 
- 
Field Detail
- 
OPERATION
private static final TimeTracker.TrackedOperation OPERATION
 
 - 
 
- 
Method Detail
- 
start
public TimeTracker.TrackedOperation start(java.lang.Object operationName)
Description copied from interface:TimeTrackerStart operation- Specified by:
 startin interfaceTimeTracker- Parameters:
 operationName- operation identifier- Returns:
 - operation
 
 
- 
start
public TimeTracker.TrackedOperation start(java.util.function.Supplier<java.lang.Object> operationName)
Description copied from interface:TimeTrackerStart operation- Specified by:
 startin interfaceTimeTracker- Parameters:
 operationName- operation identifier- Returns:
 - operation
 
 
- 
dumpLongest
public void dumpLongest(int count)
Description copied from interface:TimeTrackerDump longest operations- Specified by:
 dumpLongestin interfaceTimeTracker- Parameters:
 count- number of longest operations to dump
 
- 
getAllTimePassedMillis
public long getAllTimePassedMillis()
- Specified by:
 getAllTimePassedMillisin interfaceTimeTracker- Returns:
 - passed time from very first operation
 
 
 - 
 
 -