|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.wsrf.impl.BaseResourceProperty
org.globus.wsrf.impl.ReflectionResourceProperty
org.globus.mds.usefulrp.AccumulatorResourceProperty
An MDS ResourceProperty that will allow services to easily publish
metrics about their load.
This RP is specfically designed for measuring cumulative quantities
(such as number of hits, number of bytes transferred), with the
TODO ability to publish derived statistics such as average rate of
change of the accumulator (which will provide, for example,
hits/second or bytes/second).
Note that this RP implements no persistence (in order to have minimal
dependencies on other configuration) but will TODO indicate in its
output when it began making the present set of measurements.
| Field Summary |
| Fields inherited from class org.globus.wsrf.impl.BaseResourceProperty |
metaData |
| Constructor Summary | |
AccumulatorResourceProperty(QName name)
|
|
| Method Summary | |
void |
accumulate(long amount)
|
Object |
getDynamicValue()
|
| Methods inherited from class org.globus.wsrf.impl.ReflectionResourceProperty |
add, clear, get, getValueSimple, initialize, isArray, isEmpty, iterator, remove, set, setObject, setPropertyName, size, toElements, toSOAPElements |
| Methods inherited from class org.globus.wsrf.impl.BaseResourceProperty |
convert, convertObject, convertPrimitive, getMetaData, setMetaData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AccumulatorResourceProperty(QName name)
throws Exception
Exception - passes along any exception encountered
during construction of underlying ReflectionResourceProperty.| Method Detail |
public Object getDynamicValue()
public void accumulate(long amount)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||