public static class AverageAggregator.AverageTuple extends Object implements SmartExternalizable
Constructor and Description |
---|
AverageTuple() |
AverageTuple(Number sum,
boolean widest) |
Modifier and Type | Method and Description |
---|---|
AverageAggregator.AverageTuple |
add(Number deltaSum,
long deltaCount) |
Number |
getAverage() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public AverageTuple()
public AverageTuple(Number sum, boolean widest)
public AverageAggregator.AverageTuple add(Number deltaSum, long deltaCount)
public Number getAverage()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.