public interface InstrumentData extends ElementData
| Modifier and Type | Field and Description |
|---|---|
static int |
INSTRUMENT_TYPE_COUNTER
Type which identifies CounterInstruments.
|
static int |
INSTRUMENT_TYPE_NONE
Type which specifies that the type of a Instrument has not yet been determined.
|
static int |
INSTRUMENT_TYPE_VALUE
Type which identifies ValueInstruments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
createInstrumentSample(java.lang.String description,
long interval,
int sampleCount,
long leaseTime,
int sampleType)
Requests that a sample be created or that its lease be updated.
|
InstrumentSampleData[] |
getInstrumentSamples()
Returns an array of the Instrument Samples assigned to the Instrument.
|
int |
getType()
Returns the type of the Instrument.
|
boolean |
isRegistered()
Returns the registered flag of the remote object.
|
getName, getParent, isConfiguredgetDescription, getStateVersion, updatestatic final int INSTRUMENT_TYPE_NONE
static final int INSTRUMENT_TYPE_COUNTER
static final int INSTRUMENT_TYPE_VALUE
boolean isRegistered()
int getType()
InstrumentSampleData[] getInstrumentSamples()
boolean createInstrumentSample(java.lang.String description,
long interval,
int sampleCount,
long leaseTime,
int sampleType)
description - Description to assign to the new sample.interval - Sample interval of the new sample.sampleCount - Number of samples in the new sample.leaseTime - Requested lease time. The server may not grant the full lease.sampleType - The type of sample to be created.