public class AggPoint extends java.lang.Object implements Application
| Constructor and Description |
|---|
AggPoint()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
eu.reservoir.aggregator.AggregateFn |
getAggregateFn()
Get the current AggregateFn.
|
java.lang.String |
getCollectionPath()
Get the path where raw data is collected into.
|
eu.reservoir.aggregator.Filter |
getFilter()
Get the current Filter
|
SocketAddress |
getInputAddress()
Get the address for input traffic to the aggregation point.
|
java.lang.String |
getName()
Get the name of the AggPoint.
|
SocketAddress |
getOutputAddress()
Get the address for output traffic to the aggregation point.
|
java.util.List<eu.reservoir.monitoring.core.ProbeAttribute> |
getProbeAttributes()
Get the ProbeAttributes
|
int |
getSleepTime()
Get the sleep time between aggregations.
|
ApplicationResponse |
init(java.lang.String[] args)
init
Args are:
-i input address
-o output address
-a aggregatefn, [average, variance, sd, length, sum, min, max] (NO default)
-f filter, [always, 2%, 5%, 10%] (default: always)
-l log path, (default: /tmp/)
-t sleep timeout (default: 30)
-n name (default: "agg-point")
|
void |
run()
Run
|
eu.reservoir.aggregator.AggregateFn |
setAggregateFn(plugins_usr.aggregator.appl.AggPoint.AggregateFnSpecifer spec)
Set the AggregateFn.
|
java.lang.String |
setCollectionPath(java.lang.String path)
Set the path where raw data is collected into.
|
eu.reservoir.aggregator.Filter |
setFilter(plugins_usr.aggregator.appl.AggPoint.FilterSpecifer spec)
Set the Filter
|
SocketAddress |
setInputAddress(SocketAddress in)
Set the address for input traffic to the aggregation point.
|
java.lang.String |
setName(java.lang.String str)
Set the name of the AggPoint.
|
SocketAddress |
setOutputAddress(SocketAddress out)
Set the address for output traffic to the aggregation point.
|
void |
setProbeAttributes(java.util.List<eu.reservoir.monitoring.core.ProbeAttribute> list)
Set the ProbeAttributes
|
int |
setSleepTime(int slTime)
Set the sleep time between aggregations.
|
ApplicationResponse |
start()
Start the aggpoint
|
ApplicationResponse |
stop()
Stop
|
public ApplicationResponse init(java.lang.String[] args)
init in interface Applicationpublic ApplicationResponse start()
start in interface Applicationpublic ApplicationResponse stop()
stop in interface Applicationpublic void run()
run in interface java.lang.Runnablepublic java.lang.String getCollectionPath()
public java.lang.String setCollectionPath(java.lang.String path)
public java.lang.String getName()
public java.lang.String setName(java.lang.String str)
public int getSleepTime()
public int setSleepTime(int slTime)
public SocketAddress getInputAddress()
public SocketAddress setInputAddress(SocketAddress in)
public SocketAddress getOutputAddress()
public SocketAddress setOutputAddress(SocketAddress out)
public eu.reservoir.aggregator.AggregateFn getAggregateFn()
public eu.reservoir.aggregator.AggregateFn setAggregateFn(plugins_usr.aggregator.appl.AggPoint.AggregateFnSpecifer spec)
public eu.reservoir.aggregator.Filter getFilter()
public eu.reservoir.aggregator.Filter setFilter(plugins_usr.aggregator.appl.AggPoint.FilterSpecifer spec)
public java.util.List<eu.reservoir.monitoring.core.ProbeAttribute> getProbeAttributes()
public void setProbeAttributes(java.util.List<eu.reservoir.monitoring.core.ProbeAttribute> list)
User Space Routing 0.10.3