1 19 20 package org.apache.excalibur.instrument.client; 21 22 public interface InstrumentData 23 extends ElementData 24 { 25 26 int INSTRUMENT_TYPE_NONE = 0; 27 28 29 int INSTRUMENT_TYPE_COUNTER = 1; 30 31 32 int INSTRUMENT_TYPE_VALUE = 2; 33 34 39 boolean isRegistered(); 40 41 49 int getType(); 50 51 56 InstrumentSampleData[] getInstrumentSamples(); 57 58 69 boolean createInstrumentSample( String description, 70 long interval, 71 int sampleCount, 72 long leaseTime, 73 int sampleType ); 74 } 75 | Popular Tags |