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