Class ProfilingDataLog
java.lang.Object
com.evolveum.midpoint.util.aspect.ProfilingDataLog
This is a blueprint for single method call, or ProfilingEvent as we call it. In here, we capture some
attributes for each method call, specifically:
className with package name
method name
objectType with which method works (or deltaType for some model methods)
executionTimestamp - when method call was performed
estimatedTime - method call duration
- Author:
- shood
-
Constructor Summary
ConstructorDescriptionProfilingDataLog
(String className, String method, long est, long exeTimestamp, Object[] args) ProfilingDataLog
(String method, String uri, String sessionID, long est, long exec) -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendToLogger
(boolean afterTest) Object[]
getArgs()
long
long
void
logProfilingEvent
(Trace LOGGER) void
void
setClassName
(String className) void
setEstimatedTime
(long estimatedTime) void
setExecutionTimestamp
(long executionTimestamp) void
setMethodName
(String methodName) void
setSessionID
(String sessionID)
-
Constructor Details
-
ProfilingDataLog
-
ProfilingDataLog
-
-
Method Details
-
getSessionID
-
setSessionID
-
getArgs
-
setArgs
-
getEstimatedTime
public long getEstimatedTime() -
setEstimatedTime
public void setEstimatedTime(long estimatedTime) -
getExecutionTimestamp
public long getExecutionTimestamp() -
setExecutionTimestamp
public void setExecutionTimestamp(long executionTimestamp) -
getClassName
-
setClassName
-
getMethodName
-
setMethodName
-
logProfilingEvent
-
appendToLogger
public void appendToLogger(boolean afterTest)
-