Class OperationPerformanceInformation
- java.lang.Object
-
- com.evolveum.midpoint.repo.api.perf.OperationPerformanceInformation
-
- All Implemented Interfaces:
ShortDumpable
,Cloneable
public class OperationPerformanceInformation extends Object implements ShortDumpable, Cloneable
Experimental.
-
-
Constructor Summary
Constructors Constructor Description OperationPerformanceInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationPerformanceInformation
clone()
int
getExecutionCount()
int
getInvocationCount()
Long
getMaxTime()
Long
getMaxWastedTime()
Long
getMinTime()
Long
getMinWastedTime()
long
getTotalTime()
long
getTotalWastedTime()
void
register(OperationRecord operation)
void
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.RepositoryOperationPerformanceInformationType
toRepositoryOperationPerformanceInformationType(String kind)
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Method Detail
-
getInvocationCount
public int getInvocationCount()
-
getExecutionCount
public int getExecutionCount()
-
getTotalTime
public long getTotalTime()
-
getMinTime
public Long getMinTime()
-
getMaxTime
public Long getMaxTime()
-
getTotalWastedTime
public long getTotalWastedTime()
-
getMinWastedTime
public Long getMinWastedTime()
-
getMaxWastedTime
public Long getMaxWastedTime()
-
register
public void register(OperationRecord operation)
-
toRepositoryOperationPerformanceInformationType
public RepositoryOperationPerformanceInformationType toRepositoryOperationPerformanceInformationType(String kind)
-
shortDump
public void shortDump(StringBuilder sb)
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
public OperationPerformanceInformation clone()
-
-