1 50 package org.apache.excalibur.instrument.manager; 51 52 import org.apache.excalibur.instrument.manager.interfaces.InstrumentSampleSnapshot; 53 54 62 public class InstrumentSampleDescriptorLocalImpl 63 implements InstrumentSampleDescriptorLocal 64 { 65 66 private InstrumentSample m_instrumentSample; 67 68 71 76 InstrumentSampleDescriptorLocalImpl( InstrumentSample InstrumentSample ) 77 { 78 m_instrumentSample = InstrumentSample; 79 } 80 81 84 90 public boolean isConfigured() 91 { 92 return m_instrumentSample.isConfigured(); 93 } 94 95 100 public String getName() 101 { 102 return m_instrumentSample.getName(); 103 } 104 105 110 public long getInterval() 111 { 112 return m_instrumentSample.getInterval(); 113 } 114 115 120 public int getSize() 121 { 122 return m_instrumentSample.getSize(); 123 } 124 125 130 public String getDescription() 131 { 132 return m_instrumentSample.getDescription(); 133 } 134 135 144 public int getType() 145 { 146 return m_instrumentSample.getType(); 147 } 148 149 156 public int getValue() 157 { 158 return m_instrumentSample.getValue(); 159 } 160 161 166 public long getTime() 167 { 168 return m_instrumentSample.getTime(); 169 } 170 171 180 public int getInstrumentType() 181 { 182 return m_instrumentSample.getInstrumentType(); 183 } 184 185 191 public long getLeaseExpirationTime() 192 { 193 return m_instrumentSample.getLeaseExpirationTime(); 194 } 195 196 204 public long extendLease( long lease ) 205 { 206 return m_instrumentSample.extendLease( lease ); 207 } 208 209 214 public InstrumentSampleSnapshot getSnapshot() 215 { 216 return m_instrumentSample.getSnapshot(); 217 } 218 219 228 public int getStateVersion() 229 { 230 return m_instrumentSample.getStateVersion(); 231 } 232 233 236 242 public void addInstrumentSampleListener( InstrumentSampleListener listener ) 243 { 244 m_instrumentSample.addInstrumentSampleListener( listener ); 245 } 246 247 253 public void removeInstrumentSampleListener( InstrumentSampleListener listener ) 254 { 255 m_instrumentSample.removeInstrumentSampleListener( listener ); 256 } 257 } 258 259 | Popular Tags |