1 19 20 package org.apache.excalibur.instrument.manager; 21 22 28 public interface InstrumentSampleDescriptor 29 { 30 36 boolean isConfigured(); 37 38 43 String getName(); 44 45 50 long getInterval(); 51 52 57 int getSize(); 58 59 64 String getDescription(); 65 66 75 int getType(); 76 77 84 int getValue(); 85 86 91 long getTime(); 92 93 102 int getInstrumentType(); 103 104 109 InstrumentDescriptor getInstrumentDescriptor(); 110 111 117 void addInstrumentSampleListener( InstrumentSampleListener listener ); 118 119 125 void removeInstrumentSampleListener( InstrumentSampleListener listener ); 126 127 133 long getLeaseExpirationTime(); 134 135 143 long extendLease( long lease ); 144 145 150 InstrumentSampleSnapshot getSnapshot(); 151 152 161 int getStateVersion(); 162 } 163 164 | Popular Tags |