|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.mds.usefulrp.types.Accumulator
Accumulator-style measurement (for example, event count or byte count) that it is useful to know both total and rate information for.
| Constructor Summary | |
Accumulator()
|
|
Accumulator(Calendar startTime,
Calendar lastChange,
long total,
ExponentialRate[] expRate)
|
|
| Method Summary | |
boolean |
equals(Object obj)
|
static Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
ExponentialRate[] |
getExpRate()
Gets the expRate value for this Accumulator. |
ExponentialRate |
getExpRate(int i)
|
Calendar |
getLastChange()
Gets the lastChange value for this Accumulator. |
static Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
Calendar |
getStartTime()
Gets the startTime value for this Accumulator. |
long |
getTotal()
Gets the total value for this Accumulator. |
static TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setExpRate(ExponentialRate[] expRate)
Sets the expRate value for this Accumulator. |
void |
setExpRate(int i,
ExponentialRate _value)
|
void |
setLastChange(Calendar lastChange)
Sets the lastChange value for this Accumulator. |
void |
setStartTime(Calendar startTime)
Sets the startTime value for this Accumulator. |
void |
setTotal(long total)
Sets the total value for this Accumulator. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Accumulator()
public Accumulator(Calendar startTime,
Calendar lastChange,
long total,
ExponentialRate[] expRate)
| Method Detail |
public Calendar getStartTime()
public void setStartTime(Calendar startTime)
startTime - * The time at which measurements were started (for example, when
the
hosting container started)public Calendar getLastChange()
public void setLastChange(Calendar lastChange)
lastChange - * The time at which a value was last accumulated. If a zero-value
is accumulated, this does not count as a change for the
purposes of this field, even though in implementation, it
may result in a recalculation of the exponential weights.public long getTotal()
public void setTotal(long total)
total - * The total of this accumulator.public ExponentialRate[] getExpRate()
public void setExpRate(ExponentialRate[] expRate)
expRate - * Exponentially decaying averages of the rate.public ExponentialRate getExpRate(int i)
public void setExpRate(int i,
ExponentialRate _value)
public boolean equals(Object obj)
public int hashCode()
public static TypeDesc getTypeDesc()
public static Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||