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.counter.sampled;
05:
06: import com.tc.stats.counter.Counter;
07:
08: public interface SampledCounter extends Counter {
09:
10: void shutdown();
11:
12: TimeStampedCounterValue getMostRecentSample();
13:
14: TimeStampedCounterValue[] getAllSampleValues();
15:
16: TimeStampedCounterValue getMin();
17:
18: TimeStampedCounterValue getMax();
19:
20: double getAverage();
21:
22: }
|