com.oy.shared.lw.perf.monitor
Class ObjectPoolMonitor

java.lang.Object
  extended bycom.oy.shared.lw.perf.agent.BaseMonitor
      extended bycom.oy.shared.lw.perf.monitor.ObjectPoolMonitor
All Implemented Interfaces:
IPerfMonitor

public class ObjectPoolMonitor
extends BaseMonitor


Nested Class Summary
 
Nested classes inherited from class com.oy.shared.lw.perf.IPerfMonitor
IPerfMonitor.MockPerfCounterImpl
 
Field Summary
private  long[] m_Clone
           
private  long[] m_Values
           
 
Fields inherited from class com.oy.shared.lw.perf.agent.BaseMonitor
 
Constructor Summary
ObjectPoolMonitor(java.lang.Class module, java.lang.String name, java.lang.String desc)
           
 
Method Summary
 long[] getValues()
           
 void incAdded()
           
 void incBorrowed()
           
 void incRemoved()
           
 void incReturned()
           
 
Methods inherited from class com.oy.shared.lw.perf.agent.BaseMonitor
getColumnNames, getDesc, getModule, getName, getValues, hasValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Values

private long[] m_Values

m_Clone

private long[] m_Clone
Constructor Detail

ObjectPoolMonitor

public ObjectPoolMonitor(java.lang.Class module,
                         java.lang.String name,
                         java.lang.String desc)
Method Detail

incAdded

public void incAdded()

incRemoved

public void incRemoved()

incBorrowed

public void incBorrowed()

incReturned

public void incReturned()

getValues

public long[] getValues()
Specified by:
getValues in interface IPerfMonitor
Specified by:
getValues in class BaseMonitor


Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com