Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.common.ampool
Class AMStatistics

java.lang.Object
  extended by oracle.jbo.common.ampool.AMStatistics
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

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

A structure for ApplicationModule statistics.

See Also:
Serialized Form

Nested Class Summary
static class AMStatistics.CountStatsInfo
          Custom implementations of ApplicationModules should add their long properties using this class.
static class AMStatistics.StatsInfo
          The class is used for reporting of statistics.
static class AMStatistics.StringStatsInfo
          Custom implementations of ApplicationModules should add their String properties using this class.
 
Field Summary
 long lastSampleTime
           
 long mCreationTimeMillis
           
 int mID
           
 long mLockTime
           
 java.lang.String mName
           
 long mNumNestedAppModules
           
 long mNumOfViewLinks
           
 long mNumOfVOs
           
 long mReleaseTime
           
 java.lang.String mSessionID
           
 long mTimeToCreateMillis
           
 long startTime
           
 
Constructor Summary
AMStatistics()
           
 
Method Summary
 void add(java.lang.String statName, AMStatistics.StatsInfo statsInfo)
          This method will be used by Custom Application Module Implementations to add their specific statistics to this collection for reporting.
 java.lang.Object clone()
           
 long getLastSampleTime()
           
 long getStartTime()
           
 java.util.List getStatisticsInfo(java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mNumOfVOs

public long mNumOfVOs

mNumOfViewLinks

public long mNumOfViewLinks

mNumNestedAppModules

public long mNumNestedAppModules

mSessionID

public java.lang.String mSessionID

mLockTime

public long mLockTime

mCreationTimeMillis

public long mCreationTimeMillis

mReleaseTime

public long mReleaseTime

mTimeToCreateMillis

public long mTimeToCreateMillis

mName

public java.lang.String mName

mID

public int mID

startTime

public long startTime

lastSampleTime

public long lastSampleTime
Constructor Detail

AMStatistics

public AMStatistics()
Method Detail

clone

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

getStartTime

public long getStartTime()

getLastSampleTime

public long getLastSampleTime()

getStatisticsInfo

public java.util.List getStatisticsInfo(java.util.Locale locale)

add

public void add(java.lang.String statName,
                AMStatistics.StatsInfo statsInfo)
This method will be used by Custom Application Module Implementations to add their specific statistics to this collection for reporting. The custom statistics if already defined for the statName, will be overwritten by the new statsInfo value.

Parameters:
statName - Name of the custom defined statistics
statsInfo - Custom defined statistics

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

Copyright © 1997, 2011, Oracle. All rights reserved.