org.apache.jcs.engine.stats
Class Stats

java.lang.Object
  extended by org.apache.jcs.engine.stats.Stats
All Implemented Interfaces:
java.io.Serializable, IStats
Direct Known Subclasses:
CacheStats

public class Stats
extends java.lang.Object
implements IStats

Author:
aaronsm
See Also:
Serialized Form

Constructor Summary
Stats()
           
 
Method Summary
 IStatElement[] getStatElements()
          Return generic statistical or historical data.
 java.lang.String getTypeName()
          Get the type name, such as "LRU Memory Cache."
 void setStatElements(IStatElement[] stats)
          Set the generic statistical or historical data.
 void setTypeName(java.lang.String name)
          Set the type name, such as "LRU Memory Cache."
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stats

public Stats()
Method Detail

getStatElements

public IStatElement[] getStatElements()
Description copied from interface: IStats
Return generic statistical or historical data.

Specified by:
getStatElements in interface IStats
Returns:
IStatElement[]

setStatElements

public void setStatElements(IStatElement[] stats)
Description copied from interface: IStats
Set the generic statistical or historical data.

Specified by:
setStatElements in interface IStats

getTypeName

public java.lang.String getTypeName()
Description copied from interface: IStats
Get the type name, such as "LRU Memory Cache." No formal type is defined.

Specified by:
getTypeName in interface IStats
Returns:
String

setTypeName

public void setTypeName(java.lang.String name)
Description copied from interface: IStats
Set the type name, such as "LRU Memory Cache." No formal type is defined. If we need formal types, we can use the cachetype param

Specified by:
setTypeName in interface IStats

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.