1 50 package org.apache.excalibur.instrument.manager.interfaces; 51 52 53 59 public interface InstrumentManagerClient 60 { 61 62 int INSTRUMENT_TYPE_NONE = 0; 63 64 65 int INSTRUMENT_TYPE_COUNTER = 1; 66 67 68 int INSTRUMENT_TYPE_VALUE = 2; 69 70 71 int INSTRUMENT_SAMPLE_TYPE_COUNTER = 101; 72 73 74 int INSTRUMENT_SAMPLE_TYPE_MINIMUM = 102; 75 76 77 int INSTRUMENT_SAMPLE_TYPE_MAXIMUM = 103; 78 79 80 int INSTRUMENT_SAMPLE_TYPE_MEAN = 104; 81 82 87 String getName(); 88 89 94 String getDescription(); 95 96 107 InstrumentableDescriptor getInstrumentableDescriptor( String instrumentableName ) 108 throws NoSuchInstrumentableException; 109 110 117 InstrumentableDescriptor[] getInstrumentableDescriptors(); 118 119 130 InstrumentableDescriptor locateInstrumentableDescriptor( String instrumentableName ) 131 throws NoSuchInstrumentableException; 132 133 143 InstrumentDescriptor locateInstrumentDescriptor( String instrumentName ) 144 throws NoSuchInstrumentException; 145 146 157 InstrumentSampleDescriptor locateInstrumentSampleDescriptor( String sampleName ) 158 throws NoSuchInstrumentSampleException; 159 160 169 int getStateVersion(); 170 171 174 void invokeGarbageCollection(); 175 } 176 177 | Popular Tags |