Class Profile
java.lang.Object
org.eclipse.persistence.tools.profiler.Profile
- All Implemented Interfaces:
Serializable
,Cloneable
Purpose: Any information stored for a profile operation.
- See Also:
- Author:
- James Sutherland
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clone()
long
long
long
long
long
long
long
long
void
setDomainClass
(Class domainClass) void
setLocalTime
(long localTime) void
setLongestTime
(long longestTime) void
setNumberOfInstancesEffected
(long numberOfInstancesEffected) void
setOperationTimings
(Hashtable operationTimings) void
setProfileTime
(long profileTime) void
setQueryClass
(Class queryClass) void
setShortestTime
(long shortestTime) void
setTotalTime
(long totalTime) toString()
void
write
(Writer writer, PerformanceProfiler profiler)
-
Field Details
-
queryClass
-
domainClass
-
numberOfInstancesEffected
protected long numberOfInstancesEffected -
operationTimings
-
localTime
protected long localTime -
profileTime
protected long profileTime -
totalTime
protected long totalTime -
shortestTime
protected long shortestTime -
longestTime
protected long longestTime
-
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
addTiming
-
clone
-
getDomainClass
-
getLocalTime
public long getLocalTime() -
getLongestTime
public long getLongestTime() -
getNumberOfInstancesEffected
public long getNumberOfInstancesEffected() -
getObjectsPerSecond
public long getObjectsPerSecond() -
getOperationTimings
-
getProfileTime
public long getProfileTime() -
getQueryClass
-
getShortestTime
public long getShortestTime() -
getTimePerObject
public long getTimePerObject() -
getTotalTime
public long getTotalTime() -
setDomainClass
-
setLocalTime
public void setLocalTime(long localTime) -
setLongestTime
public void setLongestTime(long longestTime) -
setNumberOfInstancesEffected
public void setNumberOfInstancesEffected(long numberOfInstancesEffected) -
setOperationTimings
-
setProfileTime
public void setProfileTime(long profileTime) -
setQueryClass
-
setShortestTime
public void setShortestTime(long shortestTime) -
setTotalTime
public void setTotalTime(long totalTime) -
toString
-
write
-