Class PerformanceInformationImpl
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqlbase.perfmon.PerformanceInformationImpl
-
- All Implemented Interfaces:
PerformanceInformation
,DebugDumpable
,Cloneable
public class PerformanceInformationImpl extends Object implements PerformanceInformation
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PerformanceInformationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
PerformanceInformation
clone()
String
debugDump(int indent)
Map<String,OperationPerformanceInformation>
getAllData()
int
getInvocationCount(String operation)
void
mergeDistinct(PerformanceInformation increment)
Merges an increment to this information.void
register(OperationRecord operation, boolean alsoObjectType)
RepositoryPerformanceInformationType
toRepositoryPerformanceInformationType()
-
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.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfacePerformanceInformation
-
getAllData
public Map<String,OperationPerformanceInformation> getAllData()
- Specified by:
getAllData
in interfacePerformanceInformation
-
toRepositoryPerformanceInformationType
public RepositoryPerformanceInformationType toRepositoryPerformanceInformationType()
- Specified by:
toRepositoryPerformanceInformationType
in interfacePerformanceInformation
-
register
public void register(OperationRecord operation, boolean alsoObjectType)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
getInvocationCount
public int getInvocationCount(String operation)
- Specified by:
getInvocationCount
in interfacePerformanceInformation
-
clone
public PerformanceInformation clone()
- Specified by:
clone
in interfacePerformanceInformation
- Overrides:
clone
in classObject
-
mergeDistinct
public void mergeDistinct(PerformanceInformation increment)
Merges an increment to this information. BEWARE: Assumes distinct sets of operation (does not check for overlaps).
-
-