org.apache.excalibur.instrument.client
Interface InstrumentSampleData

All Superinterfaces:
Data, ElementData, InstrumentSampleElementData

public interface InstrumentSampleData
extends InstrumentSampleElementData


Field Summary
 
Fields inherited from interface org.apache.excalibur.instrument.client.InstrumentSampleElementData
INSTRUMENT_SAMPLE_TYPE_COUNTER, INSTRUMENT_SAMPLE_TYPE_MAXIMUM, INSTRUMENT_SAMPLE_TYPE_MEAN, INSTRUMENT_SAMPLE_TYPE_MINIMUM
 
Method Summary
 InstrumentSampleSnapshotData getSnapshot()
          Returns a snapshot of the data in the sample.
 void updateLease()
          Requests that the sample's lease be updated.
 
Methods inherited from interface org.apache.excalibur.instrument.client.InstrumentSampleElementData
getInstrumentType, getInterval, getLeaseExpirationTime, getSize, getTime, getType, getValue
 
Methods inherited from interface org.apache.excalibur.instrument.client.ElementData
getName, getParent, isConfigured
 
Methods inherited from interface org.apache.excalibur.instrument.client.Data
getDescription, getStateVersion, update
 

Method Detail

updateLease

public void updateLease()
Requests that the sample's lease be updated.


getSnapshot

public InstrumentSampleSnapshotData getSnapshot()
Returns a snapshot of the data in the sample.

Returns:
A snapshot of the sample.


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.