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: import java.io.Serializable;
07:
08: public class StatisticImpl implements Serializable {
09: private long m_lastSampleTime;
10:
11: public StatisticImpl() {
12: m_lastSampleTime = 0;
13: }
14:
15: public StatisticImpl(long lastSampleTime) {
16: m_lastSampleTime = lastSampleTime;
17: }
18:
19: public void setLastSampleTime(long lastSampleTime) {
20: m_lastSampleTime = lastSampleTime;
21: }
22:
23: public long getLastSampleTime() {
24: return m_lastSampleTime;
25: }
26:
27: private static final long serialVersionUID = 42;
28: }
|