KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > stats > statistics > CountStatisticImpl


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.statistics;
5
6 public class CountStatisticImpl extends StatisticImpl implements CountStatistic {
7   private long m_count;
8
9   public CountStatisticImpl() {
10     this(0L);
11   }
12
13   public CountStatisticImpl(long count) {
14     m_count = count;
15   }
16
17   public void setCount(long count) {
18     m_count = count;
19   }
20
21   public long getCount() {
22     return m_count;
23   }
24 }
25
Popular Tags