1 19 20 package org.apache.excalibur.instrument.manager; 21 22 import java.io.Serializable ; 23 24 28 public class InstrumentSampleSnapshot 29 implements Serializable 30 { 31 static final long serialVersionUID = -3284372358291073513L; 32 33 34 private String m_InstrumentSampleName; 35 36 37 private long m_interval; 38 39 40 private int m_size; 41 42 43 private long m_time; 44 45 46 private int[] m_samples; 47 48 49 private int m_stateVersion; 50 51 54 62 public InstrumentSampleSnapshot( String InstrumentSampleName, 63 long interval, 64 int size, 65 long time, 66 int[] samples, 67 int stateVersion ) 68 { 69 m_InstrumentSampleName = InstrumentSampleName; 70 m_interval = interval; 71 m_size = size; 72 m_time = time; 73 m_samples = samples; 74 m_stateVersion = stateVersion; 75 } 76 77 80 85 public String getInstrumentSampleName() 86 { 87 return m_InstrumentSampleName; 88 } 89 90 95 public long getInterval() 96 { 97 return m_interval; 98 } 99 100 105 public int getSize() 106 { 107 return m_size; 108 } 109 110 115 public long getTime() 116 { 117 return m_time; 118 } 119 120 126 public int[] getSamples() 127 { 128 return m_samples; 129 } 130 131 140 public int getStateVersion() 141 { 142 return m_stateVersion; 143 } 144 } 145 146 | Popular Tags |