Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.common.ampool
Class ApplicationPoolLogger

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

public final class ApplicationPoolLogger
extends oracle.jbo.pool.ResourcePoolLogger
implements ApplicationPoolListener

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


Field Summary
 
Fields inherited from interface oracle.jbo.common.ampool.ApplicationPoolListener
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(oracle.jbo.pool.ResourcePoolStatistics statistics)
           
protected  void computeSessionAgeHistogram(Statistics statistics)
           
 void dumpPoolStatistics(java.io.PrintWriter pw)
           
 Statistics getStatistics()
           
 oracle.jbo.pool.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
 

Constructor Detail

ApplicationPoolLogger

public ApplicationPoolLogger(ApplicationPoolImpl pool)
Method Detail

handleEvent

public void handleEvent(byte eventType)
Specified by:
handleEvent in interface oracle.jbo.pool.ResourcePoolListener

getStatistics

public Statistics getStatistics()

getStatisticsHolder

public oracle.jbo.pool.ResourcePoolStatistics getStatisticsHolder()

computeResourceAgeHistogram

public void computeResourceAgeHistogram(oracle.jbo.pool.ResourcePoolStatistics statistics)

computeSessionAgeHistogram

protected void computeSessionAgeHistogram(Statistics statistics)

computeAppModuleAgeHistograms

protected void computeAppModuleAgeHistograms(Statistics statistics)

dumpPoolStatistics

public void dumpPoolStatistics(java.io.PrintWriter pw)

calculateAverages

protected void calculateAverages(boolean force)

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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