public interface InstrumentSampleElementData extends ElementData
| Modifier and Type | Field and Description |
|---|---|
static int |
INSTRUMENT_SAMPLE_TYPE_COUNTER
Type which identifies CounterInstrumentSamples.
|
static int |
INSTRUMENT_SAMPLE_TYPE_MAXIMUM
Type which identifies MaximumInstrumentSamples.
|
static int |
INSTRUMENT_SAMPLE_TYPE_MEAN
Type which identifies MeanInstrumentSamples.
|
static int |
INSTRUMENT_SAMPLE_TYPE_MINIMUM
Type which identifies MinimumInstrumentSamples.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInstrumentType()
Returns the Type of the Instrument which can use the sample.
|
long |
getInterval()
Returns the sample interval.
|
long |
getLeaseExpirationTime()
Obtain the UNIX time when the lease expires.
|
int |
getSize()
Returns the number of samples in the sample history.
|
long |
getTime()
Obtain the UNIX time of the beginning of the sample.
|
int |
getType()
Returns the type of the Instrument Sample.
|
int |
getValue()
Obtain the value of the sample.
|
getName, getParent, isConfiguredgetDescription, getStateVersion, updatestatic final int INSTRUMENT_SAMPLE_TYPE_COUNTER
static final int INSTRUMENT_SAMPLE_TYPE_MINIMUM
static final int INSTRUMENT_SAMPLE_TYPE_MAXIMUM
static final int INSTRUMENT_SAMPLE_TYPE_MEAN
long getInterval()
int getSize()
int getType()
int getValue()
long getTime()
long getLeaseExpirationTime()
int getInstrumentType()
Should be one of the following: InstrumentData.PROFILE_POINT_TYPE_COUNTER or InstrumentData.PROFILE_POINT_TYPE_VALUE