Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cocoon.monitoring.statistics
Class Statistics

    java.lang.Object
      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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright � 2008-2010 The Apache Software Foundation. All Rights Reserved.