private static class GlobalChannelTrafficCounter.MixedTrafficMonitoringTask
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private TrafficCounter |
counter
The associated TrafficCounter
|
private GlobalChannelTrafficShapingHandler |
trafficShapingHandler1
The associated TrafficShapingHandler
|
Constructor and Description |
---|
MixedTrafficMonitoringTask(GlobalChannelTrafficShapingHandler trafficShapingHandler,
TrafficCounter counter) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
private final GlobalChannelTrafficShapingHandler trafficShapingHandler1
private final TrafficCounter counter
MixedTrafficMonitoringTask(GlobalChannelTrafficShapingHandler trafficShapingHandler, TrafficCounter counter)
trafficShapingHandler
- The parent handler to which this task needs to callback to for accounting.counter
- The parent TrafficCounter that we need to reset the statistics for.