org.apache.jcs.engine.stats
Class StatElement

java.lang.Object
  extended by org.apache.jcs.engine.stats.StatElement
All Implemented Interfaces:
IStatElement

public class StatElement
extends java.lang.Object
implements IStatElement

Author:
aaronsm

Constructor Summary
StatElement()
           
 
Method Summary
 java.lang.String getData()
          Get the data, ex. for hit count you would get a String value for some number.
 java.lang.String getName()
          Get the name of the stat element, ex.
 void setData(java.lang.String data)
          Set the data for this element.
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatElement

public StatElement()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IStatElement
Get the name of the stat element, ex. HitCount

Specified by:
getName in interface IStatElement
Returns:
the stat element name

setName

public void setName(java.lang.String name)
Specified by:
setName in interface IStatElement

getData

public java.lang.String getData()
Description copied from interface: IStatElement
Get the data, ex. for hit count you would get a String value for some number.

Specified by:
getData in interface IStatElement
Returns:
String data

setData

public void setData(java.lang.String data)
Description copied from interface: IStatElement
Set the data for this element.

Specified by:
setData in interface IStatElement

toString

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


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