01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.stats;
05:
06: import com.tc.objectserver.api.GCStats;
07: import com.tc.stats.statistics.CountStatistic;
08: import com.tc.stats.statistics.DoubleStatistic;
09: import com.tc.stats.statistics.Statistic;
10:
11: /**
12: * This defines the statistics that DSO can provide. Implementation classes make use of the com.tc.stats.statistics
13: * package, consisting of implementations of the javax.management.j2ee.statistics.
14: *
15: * @see com.tc.stats.statistics.TimeStatisticImpl
16: * @see javax.management.j2ee.statistics.TimeStatistic
17: */
18:
19: public interface DSOStats { // extends Stats { XXX: (TE) Not extending the generic Stats interface for now
20:
21: Statistic[] getStatistics(String[] names);
22:
23: DoubleStatistic getCacheHitRatio();
24:
25: CountStatistic getCacheMissRate();
26:
27: CountStatistic getTransactionRate();
28:
29: CountStatistic getObjectFaultRate();
30:
31: CountStatistic getObjectFlushRate();
32:
33: GCStats[] getGarbageCollectorStats();
34:
35: }
|