to.etc.dbpool.info
Class PerfList

java.lang.Object
  extended by to.etc.dbpool.info.PerfList

public final class PerfList
extends java.lang.Object

Definition for some performance counter. It defines the list key, it's presentation name, it's ordering (ascending/descending) and a data item renderer which renders the info elements inside it.

Author:
Frits Jalvingh Created on Nov 8, 2010

Constructor Summary
PerfList(java.lang.String key, java.lang.String description, boolean descending, int maxSize)
           
 
Method Summary
 void clear()
           
 java.lang.String getDescription()
          A description for this list to show in the performance pages.
 java.lang.String getKey()
          This-list's key, used to find it.
 int getMaxSize()
          The #of items that should be maintained, i.e.
 boolean isDescending()
          T if this lists's values are descending, meaning a high value is on top.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerfList

public PerfList(java.lang.String key,
                java.lang.String description,
                boolean descending,
                int maxSize)
Method Detail

getKey

public java.lang.String getKey()
This-list's key, used to find it.

Returns:

getDescription

public java.lang.String getDescription()
A description for this list to show in the performance pages.

Returns:

isDescending

public boolean isDescending()
T if this lists's values are descending, meaning a high value is on top.

Returns:

getMaxSize

public int getMaxSize()
The #of items that should be maintained, i.e. the xxx in top-xxx.

Returns:

clear

public void clear()