org.apache.cocoon.monitoring.statistics
Class Statistics
java.lang.Object
org.apache.cocoon.monitoring.statistics.Statistics
@ManagedResource
public class Statistics
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Statistics
public Statistics(StatisticsEnabled stats)
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.