@Service public class PortStatisticsManager extends Object implements PortStatisticsService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.net.device.DeviceService |
deviceService |
| Constructor and Description |
|---|
PortStatisticsManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
org.onosproject.net.statistic.Load |
load(org.onosproject.net.ConnectPoint connectPoint)
Obtain the egress load for the given port.
|
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
@Activate public void activate()
@Deactivate public void deactivate()
public org.onosproject.net.statistic.Load load(org.onosproject.net.ConnectPoint connectPoint)
PortStatisticsServiceload in interface PortStatisticsServiceconnectPoint - the port to query