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

public class Profile extends Object implements Serializable, Cloneable

Purpose: Any information stored for a profile operation.

See Also:
Author:
James Sutherland
  • Field Details

    • queryClass

      protected Class queryClass
    • domainClass

      protected Class domainClass
    • numberOfInstancesEffected

      protected long numberOfInstancesEffected
    • operationTimings

      protected Hashtable 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

      public void addTiming(String name, long time)
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • getDomainClass

      public Class getDomainClass()
    • getLocalTime

      public long getLocalTime()
    • getLongestTime

      public long getLongestTime()
    • getNumberOfInstancesEffected

      public long getNumberOfInstancesEffected()
    • getObjectsPerSecond

      public long getObjectsPerSecond()
    • getOperationTimings

      public Hashtable getOperationTimings()
    • getProfileTime

      public long getProfileTime()
    • getQueryClass

      public Class getQueryClass()
    • getShortestTime

      public long getShortestTime()
    • getTimePerObject

      public long getTimePerObject()
    • getTotalTime

      public long getTotalTime()
    • setDomainClass

      public void setDomainClass(Class domainClass)
    • setLocalTime

      public void setLocalTime(long localTime)
    • setLongestTime

      public void setLongestTime(long longestTime)
    • setNumberOfInstancesEffected

      public void setNumberOfInstancesEffected(long numberOfInstancesEffected)
    • setOperationTimings

      public void setOperationTimings(Hashtable operationTimings)
    • setProfileTime

      public void setProfileTime(long profileTime)
    • setQueryClass

      public void setQueryClass(Class queryClass)
    • setShortestTime

      public void setShortestTime(long shortestTime)
    • setTotalTime

      public void setTotalTime(long totalTime)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • write

      public void write(Writer writer, PerformanceProfiler profiler)