Class ProfilingDataLog
- java.lang.Object
-
- com.evolveum.midpoint.util.aspect.ProfilingDataLog
-
public class ProfilingDataLog extends Object
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
Constructors Constructor Description ProfilingDataLog(String className, String method, long est, long exeTimestamp, Object[] args)
ProfilingDataLog(String method, String uri, String sessionID, long est, long exec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendToLogger(boolean afterTest)
Object[]
getArgs()
String
getClassName()
long
getEstimatedTime()
long
getExecutionTimestamp()
String
getMethodName()
String
getSessionID()
void
logProfilingEvent(Trace LOGGER)
void
setArgs(Object[] args)
void
setClassName(String className)
void
setEstimatedTime(long estimatedTime)
void
setExecutionTimestamp(long executionTimestamp)
void
setMethodName(String methodName)
void
setSessionID(String sessionID)
-
-
-
Method Detail
-
getSessionID
public String getSessionID()
-
setSessionID
public void setSessionID(String sessionID)
-
getArgs
public Object[] getArgs()
-
setArgs
public void setArgs(Object[] args)
-
getEstimatedTime
public long getEstimatedTime()
-
setEstimatedTime
public void setEstimatedTime(long estimatedTime)
-
getExecutionTimestamp
public long getExecutionTimestamp()
-
setExecutionTimestamp
public void setExecutionTimestamp(long executionTimestamp)
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getMethodName
public String getMethodName()
-
setMethodName
public void setMethodName(String methodName)
-
logProfilingEvent
public void logProfilingEvent(Trace LOGGER)
-
appendToLogger
public void appendToLogger(boolean afterTest)
-
-