1 /*2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.3 */4 package com.tc.stats;5 6 import com.tc.objectserver.api.GCStats;7 import com.tc.stats.statistics.CountStatistic;8 import com.tc.stats.statistics.DoubleStatistic;9 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.statistics13 * package, consisting of implementations of the javax.management.j2ee.statistics.14 *15 * @see com.tc.stats.statistics.TimeStatisticImpl16 * @see javax.management.j2ee.statistics.TimeStatistic17 */18 19 public interface DSOStats { // extends Stats { XXX: (TE) Not extending the generic Stats interface for now20 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 }36