|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.mds.usefulrp.types.ExponentialRate
Represents an exponentially decaying average with metadata.
| Field Summary | |
private Object |
__equalsCalc
|
private boolean |
__hashCodeCalc
|
private long |
decay
|
private double |
rate
|
private static TypeDesc |
typeDesc
|
| Constructor Summary | |
ExponentialRate()
|
|
ExponentialRate(double rate,
long decay)
|
|
| Method Summary | |
boolean |
equals(Object obj)
|
long |
getDecay()
Gets the decay value for this ExponentialRate. |
static Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
double |
getRate()
Gets the rate value for this ExponentialRate. |
static Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
static TypeDesc |
getTypeDesc()
Return type metadata object |
int |
hashCode()
|
void |
setDecay(long decay)
Sets the decay value for this ExponentialRate. |
void |
setRate(double rate)
Sets the rate value for this ExponentialRate. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private double rate
private long decay
private Object __equalsCalc
private boolean __hashCodeCalc
private static TypeDesc typeDesc
| Constructor Detail |
public ExponentialRate()
public ExponentialRate(double rate,
long decay)
| Method Detail |
public double getRate()
public void setRate(double rate)
rate - * The exponentially-weighted weight, measured in units/second.public long getDecay()
public void setDecay(long decay)
decay - * The decay constant, measured in seconds.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 | ||||||||||