public interface InstrumentManagerData extends Data
| Modifier and Type | Method and Description |
|---|---|
void |
createInstrumentSample(java.lang.String instrumentName,
java.lang.String description,
long interval,
int sampleCount,
long leaseTime,
int sampleType)
Requests that a sample be created or that its lease be updated.
|
void |
createInstrumentSamples(java.lang.String[] instrumentNames,
java.lang.String[] descriptions,
long[] intervals,
int[] sampleCounts,
long[] leaseTimes,
int[] sampleTypes)
Requests that a set of samples be created or that their leases be
updated.
|
InstrumentableData[] |
getInstrumentables()
Gets a thread-safe snapshot of the instrumentable list.
|
java.lang.String |
getName()
Returns the name.
|
boolean |
updateAll()
Causes the the entire instrument tree to be updated in one call.
|
getDescription, getStateVersion, updatejava.lang.String getName()
InstrumentableData[] getInstrumentables()
boolean updateAll()
void createInstrumentSample(java.lang.String instrumentName,
java.lang.String description,
long interval,
int sampleCount,
long leaseTime,
int sampleType)
instrumentName - The full name of the instrument whose sample is
to be created or updated.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.void createInstrumentSamples(java.lang.String[] instrumentNames,
java.lang.String[] descriptions,
long[] intervals,
int[] sampleCounts,
long[] leaseTimes,
int[] sampleTypes)
instrumentNames - The full names of the instruments whose sample
are to be created or updated.descriptions - Descriptions to assign to the new samples.intervals - Sample intervals of the new samples.sampleCounts - Number of samples in each the new samples.leaseTimes - Requested lease times. The server may not grant the
full leases.sampleTypes - The types of samples to be created.