Class 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 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