org.apache.cocoon.monitoring.statistics
Class Statistics

java.lang.Object
  extended by org.apache.cocoon.monitoring.statistics.Statistics

@ManagedResource
public class Statistics
extends Object


Constructor Summary
Statistics(StatisticsEnabled stats)
           
 
Method Summary
 double getAllHitCount()
           
 Map<String,Double> getHits()
           
 Map<String,Long> getHits(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistics

public Statistics(StatisticsEnabled stats)
Method Detail

getAllHitCount

@ManagedAttribute(description="Returns all hit count since system start.")
public double getAllHitCount()

getHits

@ManagedAttribute(description="Returns a map of all hits and their counts.")
public Map<String,Double> getHits()

getHits

@ManagedOperation(description="Returns a map of all hits and their counts limited by a time parameter.")
@ManagedOperationParameters(value=)
public Map<String,Long> getHits(long time)


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.