public class TunnelStatsCollector extends Object implements org.jboss.netty.util.TimerTask
| Modifier and Type | Field and Description |
|---|---|
protected PcepController |
controller |
| Constructor and Description |
|---|
TunnelStatsCollector(String id,
int refreshInterval)
Greate a tunnel status collector object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(org.jboss.netty.util.Timeout timeout) |
void |
start()
Starts the collector.
|
void |
stop()
Stops the collector.
|
@Reference(cardinality=MANDATORY_UNARY) protected PcepController controller
public TunnelStatsCollector(String id, int refreshInterval)
id - tunnel whose status data will be collectedrefreshInterval - time interval for collecting statistic