1 50 package org.apache.excalibur.instrument.manager; 51 52 import org.apache.excalibur.instrument.manager.interfaces.InstrumentDescriptor; 53 import org.apache.excalibur.instrument.manager.interfaces.NoSuchInstrumentSampleException; 54 55 64 public interface InstrumentDescriptorLocal 65 extends InstrumentDescriptor 66 { 67 77 void addCounterInstrumentListener( CounterInstrumentListener listener ); 78 79 89 void removeCounterInstrumentListener( CounterInstrumentListener listener ); 90 91 101 void addValueInstrumentListener( ValueInstrumentListener listener ); 102 103 113 void removeValueInstrumentListener( ValueInstrumentListener listener ); 114 115 125 InstrumentSampleDescriptorLocal getInstrumentSampleDescriptorLocal( 126 String instrumentSampleName ) 127 throws NoSuchInstrumentSampleException; 128 129 151 InstrumentSampleDescriptorLocal createInstrumentSampleLocal( String sampleDescription, 152 long sampleInterval, 153 int sampleSize, 154 long sampleLease, 155 int sampleType ); 156 157 164 InstrumentSampleDescriptorLocal[] getInstrumentSampleDescriptorLocals(); 165 } 166 | Popular Tags |