com.flexive.shared
Class SimpleCacheStats

java.lang.Object
  extended by com.flexive.shared.SimpleCacheStats

public class SimpleCacheStats
extends java.lang.Object

Simple cache stats beans.

Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Constructor Summary
SimpleCacheStats(java.lang.String description)
           
 
Method Summary
 void addHit()
           
 void addMiss()
           
 java.lang.String getDescription()
           
 int getHits()
           
 int getMisses()
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleCacheStats

public SimpleCacheStats(java.lang.String description)
Method Detail

addHit

public void addHit()

addMiss

public void addMiss()

getHits

public int getHits()

getMisses

public int getMisses()

getDescription

public java.lang.String getDescription()

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object