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

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

public interface IStats
extends Serializable

This interface defines the common behavior for a stats holder.

Author:
aaronsm

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

Method Detail

getStatElements

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

Returns:
IStatElement[]

setStatElements

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

Parameters:
stats -

getTypeName

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

Returns:
String

setTypeName

void setTypeName(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-2012 Apache Software Foundation. All Rights Reserved.