public static class AverageAggregator.AverageTuple extends Object implements Externalizable
Constructor and Description |
---|
AverageTuple() |
AverageTuple(Number sum) |
Modifier and Type | Method and Description |
---|---|
AverageAggregator.AverageTuple |
add(Number deltaSum,
long deltaCount) |
Number |
getAverage() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public AverageTuple()
public AverageTuple(Number sum)
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.