|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
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. |
Methods inherited from interface org.apache.excalibur.instrument.client.Data |
getDescription, getStateVersion, update |
Method Detail |
public java.lang.String getName()
public InstrumentableData[] getInstrumentables()
public boolean updateAll()
public 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.public 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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |