Skip navigation links 
 
oracle.jbo.pool
Class ResourcePoolLogger
java.lang.Object
  
oracle.jbo.pool.ResourcePoolLogger
- All Implemented Interfaces:
 
- ResourcePoolListener
 
- Direct Known Subclasses:
 
- ApplicationPoolLogger
 
- 
public class ResourcePoolLogger
 
- extends java.lang.Object
 
- implements ResourcePoolListener
 
Responsible for logging, collecting, and reporting resource pool statistics.
 
 
  
 
  
 
| Method Summary | 
protected  void | 
calculateAverages(boolean force) 
            | 
protected  void | 
computeResourceAgeHistogram(ResourcePoolStatistics statistics) 
            | 
 void | 
dumpPoolStatistics(java.io.PrintWriter pw) 
            | 
protected  ResourcePoolStatistics | 
getResourcePoolStatistics() 
            | 
protected  ResourcePoolStatistics | 
getStatisticsHolder() 
            | 
 void | 
handleEvent(byte eventType) 
            | 
protected  void | 
printHeaderLine(java.lang.String key, java.lang.Class bundleClass, java.io.PrintWriter pw) 
            | 
protected  void | 
printStatisticLine(java.lang.String key, java.lang.Class bundleClass, java.lang.Object[] params, float value, java.io.PrintWriter pw) 
            | 
protected  void | 
printStatisticLine(java.lang.String key, java.lang.Class bundleClass, java.lang.Object[] params, long value, java.io.PrintWriter pw) 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
ResourcePoolLogger
public ResourcePoolLogger(ResourcePool pool)
handleEvent
public void handleEvent(byte eventType)
- 
- Specified by:
 
handleEvent in interface ResourcePoolListener 
 
getStatisticsHolder
protected ResourcePoolStatistics getStatisticsHolder()
getResourcePoolStatistics
protected ResourcePoolStatistics getResourcePoolStatistics()
computeResourceAgeHistogram
protected void computeResourceAgeHistogram(ResourcePoolStatistics statistics)
dumpPoolStatistics
public void dumpPoolStatistics(java.io.PrintWriter pw)
calculateAverages
protected void calculateAverages(boolean force)
printHeaderLine
protected void printHeaderLine(java.lang.String key,
                               java.lang.Class bundleClass,
                               java.io.PrintWriter pw)
printStatisticLine
protected void printStatisticLine(java.lang.String key,
                                  java.lang.Class bundleClass,
                                  java.lang.Object[] params,
                                  float value,
                                  java.io.PrintWriter pw)
printStatisticLine
protected void printStatisticLine(java.lang.String key,
                                  java.lang.Class bundleClass,
                                  java.lang.Object[] params,
                                  long value,
                                  java.io.PrintWriter pw)
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.