class HTTPInstrumentSampleData extends AbstractHTTPInstrumentSampleElementData implements InstrumentSampleData
INSTRUMENT_SAMPLE_TYPE_COUNTER, INSTRUMENT_SAMPLE_TYPE_MAXIMUM, INSTRUMENT_SAMPLE_TYPE_MEAN, INSTRUMENT_SAMPLE_TYPE_MINIMUM| Constructor and Description |
|---|
HTTPInstrumentSampleData(HTTPInstrumentData parent,
java.lang.String name)
Creates a new HTTPInstrumentSampleData.
|
| Modifier and Type | Method and Description |
|---|---|
InstrumentSampleSnapshotData |
getSnapshot()
Returns a snapshot of the data in the sample.
|
boolean |
update()
Causes the InstrumentSampleData to update itself with the latest data
from the server.
|
protected void |
update(org.apache.avalon.framework.configuration.Configuration configuration)
Update the contents of the object using values from the Configuration object.
|
void |
updateLease()
Requests that the sample's lease be updated.
|
getInstrumentType, getInterval, getLeaseExpirationTime, getSize, getTime, getType, getValuegetName, getParent, isConfigured, lastNameTokengetConnection, getDescription, getStateVersion, urlEncodeenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstrumentType, getInterval, getLeaseExpirationTime, getSize, getTime, getType, getValuegetName, getParent, isConfiguredgetDescription, getStateVersionHTTPInstrumentSampleData(HTTPInstrumentData parent, java.lang.String name)
protected void update(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
update in class AbstractHTTPInstrumentSampleElementDataconfiguration - Configuration object to load from.org.apache.avalon.framework.configuration.ConfigurationException - If there are any problems.public boolean update()
public void updateLease()
updateLease in interface InstrumentSampleDatapublic InstrumentSampleSnapshotData getSnapshot()
getSnapshot in interface InstrumentSampleData