KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > stats > counter > sampled > SampledCounter


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.counter.sampled;
5
6 import com.tc.stats.counter.Counter;
7
8
9 public interface SampledCounter extends Counter {
10   
11   void shutdown();
12   
13   TimeStampedCounterValue getMostRecentSample();
14
15   TimeStampedCounterValue[] getAllSampleValues();
16
17   TimeStampedCounterValue getMin();
18
19   TimeStampedCounterValue getMax();
20
21   double getAverage();
22
23   
24 }
25
Popular Tags