|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.instrument.client.http.AbstractHTTPData
org.apache.excalibur.instrument.client.http.AbstractHTTPElementData
org.apache.excalibur.instrument.client.http.AbstractHTTPInstrumentSampleElementData
org.apache.excalibur.instrument.client.http.HTTPInstrumentSampleData
class HTTPInstrumentSampleData
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 |
Constructor Summary | |
---|---|
HTTPInstrumentSampleData(HTTPInstrumentData parent,
java.lang.String name)
Creates a new HTTPInstrumentSampleData. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.excalibur.instrument.client.http.AbstractHTTPInstrumentSampleElementData |
---|
getInstrumentType, getInterval, getLeaseExpirationTime, getSize, getTime, getType, getValue |
Methods inherited from class org.apache.excalibur.instrument.client.http.AbstractHTTPElementData |
---|
getName, getParent, isConfigured, lastNameToken |
Methods inherited from class org.apache.excalibur.instrument.client.http.AbstractHTTPData |
---|
getConnection, getDescription, getStateVersion, urlEncode |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Constructor Detail |
---|
HTTPInstrumentSampleData(HTTPInstrumentData parent, java.lang.String name)
Method Detail |
---|
protected void update(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
update
in class AbstractHTTPInstrumentSampleElementData
configuration
- Configuration object to load from.
org.apache.avalon.framework.configuration.ConfigurationException
- If there are any problems.public boolean update()
update
in interface Data
public void updateLease()
updateLease
in interface InstrumentSampleData
public InstrumentSampleSnapshotData getSnapshot()
getSnapshot
in interface InstrumentSampleData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |