KickJava   Java API By Example, From Geeks To Geeks.

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


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 import java.io.Serializable JavaDoc;
7
8 public class StatisticImpl implements Serializable JavaDoc {
9   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 }
29
Popular Tags