EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.tools.profiler
Class Profile

java.lang.Object
  extended by org.eclipse.persistence.tools.profiler.Profile
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Profile
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Purpose: Any information stored for a profile operation.

See Also:
Serialized Form
Author:
James Sutherland
Since:
TopLink 1.0

Field Summary
protected  java.lang.Class domainClass
           
protected  long localTime
           
protected  long longestTime
           
protected  long numberOfInstancesEffected
           
protected  java.util.Hashtable operationTimings
           
protected  long profileTime
           
protected  java.lang.Class queryClass
           
protected  long shortestTime
           
protected  long totalTime
           
 
Constructor Summary
Profile()
           
 
Method Summary
 void addTiming(java.lang.String name, long time)
           
 java.lang.Object clone()
           
 java.lang.Class getDomainClass()
           
 long getLocalTime()
           
 long getLongestTime()
           
 long getNumberOfInstancesEffected()
           
 long getObjectsPerSecond()
           
 java.util.Hashtable getOperationTimings()
           
 long getProfileTime()
           
 java.lang.Class getQueryClass()
           
 long getShortestTime()
           
 long getTimePerObject()
           
 long getTotalTime()
           
 void setDomainClass(java.lang.Class domainClass)
           
 void setLocalTime(long localTime)
           
 void setLongestTime(long longestTime)
           
 void setNumberOfInstancesEffected(long numberOfInstancesEffected)
           
 void setOperationTimings(java.util.Hashtable operationTimings)
           
 void setProfileTime(long profileTime)
           
 void setQueryClass(java.lang.Class queryClass)
           
 void setShortestTime(long shortestTime)
           
 void setTotalTime(long totalTime)
           
 java.lang.String toString()
           
 void write(java.io.Writer writer, PerformanceProfiler profiler)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

queryClass

protected java.lang.Class queryClass

domainClass

protected java.lang.Class domainClass

numberOfInstancesEffected

protected long numberOfInstancesEffected

operationTimings

protected java.util.Hashtable operationTimings

localTime

protected long localTime

profileTime

protected long profileTime

totalTime

protected long totalTime

shortestTime

protected long shortestTime

longestTime

protected long longestTime
Constructor Detail

Profile

public Profile()
Method Detail

addTiming

public void addTiming(java.lang.String name,
                      long time)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getDomainClass

public java.lang.Class getDomainClass()

getLocalTime

public long getLocalTime()

getLongestTime

public long getLongestTime()

getNumberOfInstancesEffected

public long getNumberOfInstancesEffected()

getObjectsPerSecond

public long getObjectsPerSecond()

getOperationTimings

public java.util.Hashtable getOperationTimings()

getProfileTime

public long getProfileTime()

getQueryClass

public java.lang.Class getQueryClass()

getShortestTime

public long getShortestTime()

getTimePerObject

public long getTimePerObject()

getTotalTime

public long getTotalTime()

setDomainClass

public void setDomainClass(java.lang.Class domainClass)

setLocalTime

public void setLocalTime(long localTime)

setLongestTime

public void setLongestTime(long longestTime)

setNumberOfInstancesEffected

public void setNumberOfInstancesEffected(long numberOfInstancesEffected)

setOperationTimings

public void setOperationTimings(java.util.Hashtable operationTimings)

setProfileTime

public void setProfileTime(long profileTime)

setQueryClass

public void setQueryClass(java.lang.Class queryClass)

setShortestTime

public void setShortestTime(long shortestTime)

setTotalTime

public void setTotalTime(long totalTime)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

write

public void write(java.io.Writer writer,
                  PerformanceProfiler profiler)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference