Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

oracle.jbo.common.ampool
Class ApplicationPoolLogger

java.lang.Object
  extended by oracle.jbo.pool.ResourcePoolLogger
      extended by oracle.jbo.common.ampool.ApplicationPoolLogger
All Implemented Interfaces:
ApplicationPoolListener, ResourcePoolListener

public final class ApplicationPoolLogger
extends ResourcePoolLogger
implements ApplicationPoolListener

Responsible for logging, collecting, and reporting application pool statistics.


Field Summary
static java.lang.String dmsType
           
static java.lang.String GROUP_NAME
           
 
Fields inherited from interface oracle.jbo.common.ampool.ApplicationPoolListener
CREATION_TIME, INSTANCE_REUSED, REFERENCED_INSTANCE_RECYCLED, STATE_ACTIVATED, STATE_PASSIVATED, UNREFERENCED_INSTANCE_RECYCLED
 
Fields inherited from interface oracle.jbo.pool.ResourcePoolListener
CHECKOUT_FAILED, INSTANCE_CHECKED_IN, INSTANCE_CHECKED_OUT, INSTANCE_CREATED, INSTANCE_REMOVED
 
Constructor Summary
ApplicationPoolLogger(ApplicationPoolImpl pool)
           
 
Method Summary
protected  void calculateAverages(boolean force)
           
protected  void computeAppModuleAgeHistograms(Statistics statistics)
           
 void computeResourceAgeHistogram(ResourcePoolStatistics statistics)
           
protected  void computeSessionAgeHistogram(Statistics statistics)
           
 void dumpPoolStatistics(java.io.PrintWriter pw)
           
 Statistics getStatistics()
           
 ResourcePoolStatistics getStatisticsHolder()
           
 void handleEvent(byte eventType)
           
 
Methods inherited from class oracle.jbo.pool.ResourcePoolLogger
getResourcePoolStatistics, printHeaderLine, printStatisticLine, printStatisticLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_NAME

public static final java.lang.String GROUP_NAME

dmsType

public static final java.lang.String dmsType
See Also:
Constant Field Values
Constructor Detail

ApplicationPoolLogger

public ApplicationPoolLogger(ApplicationPoolImpl pool)
Method Detail

handleEvent

public void handleEvent(byte eventType)
Specified by:
handleEvent in interface ResourcePoolListener
Overrides:
handleEvent in class ResourcePoolLogger

getStatistics

public Statistics getStatistics()

getStatisticsHolder

public ResourcePoolStatistics getStatisticsHolder()
Overrides:
getStatisticsHolder in class ResourcePoolLogger

computeResourceAgeHistogram

public void computeResourceAgeHistogram(ResourcePoolStatistics statistics)
Overrides:
computeResourceAgeHistogram in class ResourcePoolLogger

computeSessionAgeHistogram

protected void computeSessionAgeHistogram(Statistics statistics)

computeAppModuleAgeHistograms

protected void computeAppModuleAgeHistograms(Statistics statistics)

dumpPoolStatistics

public void dumpPoolStatistics(java.io.PrintWriter pw)
Overrides:
dumpPoolStatistics in class ResourcePoolLogger

calculateAverages

protected void calculateAverages(boolean force)
Overrides:
calculateAverages in class ResourcePoolLogger

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

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