org.apache.jcs.engine.stats.behavior
Interface IStats

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ICacheStats
All Known Implementing Classes:
CacheStats, Stats

public interface IStats
extends java.io.Serializable

This interface defines the common behavior for a stats holder.

Author:
aaronsm

Method Summary
 IStatElement[] getStatElements()
          Return generic statistical or historical data.
 java.lang.String getTypeName()
          Get the type name, such as "LRU Memory Cache." No formal type is defined.
 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." No formal type is defined.
 

Method Detail

getStatElements

public IStatElement[] getStatElements()
Return generic statistical or historical data.

Returns:
IStatElement[]

setStatElements

public void setStatElements(IStatElement[] stats)
Set the generic statistical or historical data.

Parameters:
stats -

getTypeName

public java.lang.String getTypeName()
Get the type name, such as "LRU Memory Cache." No formal type is defined.

Returns:
String

setTypeName

public void setTypeName(java.lang.String name)
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

Parameters:
name -


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