Class OperationPerformanceInformation
java.lang.Object
com.evolveum.midpoint.repo.api.perf.OperationPerformanceInformation
- All Implemented Interfaces:
ShortDumpable
,Cloneable
Experimental.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
int
long
long
void
register
(OperationRecord operation) void
Show the content of the object intended for diagnostics.toString()
Shortened string info mentioned mostly for debugger usage.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Constructor Details
-
OperationPerformanceInformation
public OperationPerformanceInformation()
-
-
Method Details
-
getInvocationCount
public int getInvocationCount() -
getExecutionCount
public int getExecutionCount() -
getTotalTime
public long getTotalTime() -
getMinTime
-
getMaxTime
-
getTotalWastedTime
public long getTotalWastedTime() -
getMinWastedTime
-
getMaxWastedTime
-
register
-
toRepositoryOperationPerformanceInformationType
public RepositoryOperationPerformanceInformationType toRepositoryOperationPerformanceInformationType(String kind) -
shortDump
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
clone
-
toString
Shortened string info mentioned mostly for debugger usage.
-