1 50 package org.apache.excalibur.instrument.manager.interfaces; 51 52 60 public interface InstrumentDescriptor 61 { 62 68 boolean isConfigured(); 69 70 76 boolean isRegistered(); 77 78 79 87 String getName(); 88 89 94 String getDescription(); 95 96 104 int getType(); 105 106 116 InstrumentSampleDescriptor getInstrumentSampleDescriptor( String instrumentSampleName ) 117 throws NoSuchInstrumentSampleException; 118 119 141 InstrumentSampleDescriptor createInstrumentSample( String sampleDescription, 142 long sampleInterval, 143 int sampleSize, 144 long sampleLease, 145 int sampleType ); 146 147 154 InstrumentSampleDescriptor[] getInstrumentSampleDescriptors(); 155 156 165 int getStateVersion(); 166 } 167 | Popular Tags |