public class InstrumentSampleSnapshot
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
m_InstrumentSampleName
The name used to reference the InstrumentSample.
|
private long |
m_interval
The interval between each sample.
|
private int[] |
m_samples
The samples as an array of integers.
|
private int |
m_size
The number of samples in the InstrumentSample.
|
private int |
m_stateVersion
State Version.
|
private long |
m_time
The time that the last sample starts.
|
(package private) static long |
serialVersionUID |
| Constructor and Description |
|---|
InstrumentSampleSnapshot(java.lang.String InstrumentSampleName,
long interval,
int size,
long time,
int[] samples,
int stateVersion) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInstrumentSampleName()
Returns the name used to reference the InstrumentSample.
|
long |
getInterval()
Returns the interval, in milliseconds, between each sample.
|
int[] |
getSamples()
Returns the samples as an array of integers.
|
int |
getSize()
Returns the number of samples in the InstrumentSample.
|
int |
getStateVersion()
Returns the stateVersion of the sample.
|
long |
getTime()
Returns the time that the last sample starts.
|
static final long serialVersionUID
private java.lang.String m_InstrumentSampleName
private long m_interval
private int m_size
private long m_time
private int[] m_samples
private int m_stateVersion
public InstrumentSampleSnapshot(java.lang.String InstrumentSampleName,
long interval,
int size,
long time,
int[] samples,
int stateVersion)
InstrumentSampleName - The name used to reference the InstrumentSample.interval - The interval between each sample.size - The number of samples in the InstrumentSample.time - The time that the last sample starts.samples - The samples as an array of integers.stateVersion - The current state version of the sample.public java.lang.String getInstrumentSampleName()
public long getInterval()
public int getSize()
public long getTime()
public int[] getSamples()
public int getStateVersion()