1 50 package org.apache.excalibur.instrument.manager.interfaces; 51 52 import java.io.Serializable ; 53 54 60 public class InstrumentSampleSnapshot 61 implements Serializable 62 { 63 static final long serialVersionUID = -3284372358291073513L; 64 65 66 private String m_InstrumentSampleName; 67 68 69 private long m_interval; 70 71 72 private int m_size; 73 74 75 private long m_time; 76 77 78 private int[] m_samples; 79 80 81 private int m_stateVersion; 82 83 86 94 public InstrumentSampleSnapshot( String InstrumentSampleName, 95 long interval, 96 int size, 97 long time, 98 int[] samples, 99 int stateVersion ) 100 { 101 m_InstrumentSampleName = InstrumentSampleName; 102 m_interval = interval; 103 m_size = size; 104 m_time = time; 105 m_samples = samples; 106 m_stateVersion = stateVersion; 107 } 108 109 112 117 public String getInstrumentSampleName() 118 { 119 return m_InstrumentSampleName; 120 } 121 122 127 public long getInterval() 128 { 129 return m_interval; 130 } 131 132 137 public int getSize() 138 { 139 return m_size; 140 } 141 142 147 public long getTime() 148 { 149 return m_time; 150 } 151 152 158 public int[] getSamples() 159 { 160 return m_samples; 161 } 162 163 172 public int getStateVersion() 173 { 174 return m_stateVersion; 175 } 176 } 177 178 | Popular Tags |