|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstrumentData
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
createInstrumentSample(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. |
Methods inherited from interface org.apache.excalibur.instrument.client.ElementData |
---|
getName, getParent, isConfigured |
Methods inherited from interface org.apache.excalibur.instrument.client.Data |
---|
getDescription, getStateVersion, update |
Field Detail |
---|
static final int INSTRUMENT_TYPE_NONE
static final int INSTRUMENT_TYPE_COUNTER
static final int INSTRUMENT_TYPE_VALUE
Method Detail |
---|
boolean isRegistered()
int getType()
InstrumentSampleData[] getInstrumentSamples()
boolean createInstrumentSample(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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |