public class NoStoreAggregatorSample extends Object
AbstractNoStoreAggregator.| Constructor and Description |
|---|
NoStoreAggregatorSample() |
| Modifier and Type | Method and Description |
|---|---|
void |
countItems()
Shows how to use a simple nostore aggregator to just count number
of times data is added.
|
void |
maxValue()
Calculate the maximum value of a series of numbers.
|
void |
sumItems()
Shows how to sum up all the items passed in and "flush" them regularly on
a timer.
|
public NoStoreAggregatorSample()
public void countItems()
public void sumItems() throws Exception
ExceptionCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.