@Service public class FlowStatisticManager extends Object implements org.onosproject.net.statistic.FlowStatisticService
| Modifier and Type | Field and Description |
|---|---|
static Comparator<org.onosproject.net.ConnectPoint> |
CONNECT_POINT_COMPARATOR |
protected org.onosproject.net.device.DeviceService |
deviceService |
static Comparator<org.onosproject.net.ElementId> |
ELEMENT_ID_COMPARATOR |
protected org.onosproject.net.flow.FlowRuleService |
flowRuleService |
protected org.onosproject.net.statistic.FlowStatisticStore |
flowStatisticStore |
static Comparator<org.onosproject.net.statistic.TypedFlowEntryWithLoad> |
TYPEFLOWENTRY_WITHLOAD_COMPARATOR |
| Constructor and Description |
|---|
FlowStatisticManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
List<org.onosproject.net.statistic.TypedFlowEntryWithLoad> |
loadAllByType(org.onosproject.net.Device device,
org.onosproject.net.PortNumber pNumber,
org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType,
org.onosproject.net.flow.instructions.Instruction.Type instType) |
Map<org.onosproject.net.ConnectPoint,List<org.onosproject.net.statistic.TypedFlowEntryWithLoad>> |
loadAllByType(org.onosproject.net.Device device,
org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType,
org.onosproject.net.flow.instructions.Instruction.Type instType) |
Map<org.onosproject.net.ConnectPoint,org.onosproject.net.statistic.SummaryFlowEntryWithLoad> |
loadSummary(org.onosproject.net.Device device) |
org.onosproject.net.statistic.SummaryFlowEntryWithLoad |
loadSummary(org.onosproject.net.Device device,
org.onosproject.net.PortNumber pNumber) |
List<org.onosproject.net.statistic.TypedFlowEntryWithLoad> |
loadTopnByType(org.onosproject.net.Device device,
org.onosproject.net.PortNumber pNumber,
org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType,
org.onosproject.net.flow.instructions.Instruction.Type instType,
int topn) |
Map<org.onosproject.net.ConnectPoint,List<org.onosproject.net.statistic.TypedFlowEntryWithLoad>> |
loadTopnByType(org.onosproject.net.Device device,
org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType,
org.onosproject.net.flow.instructions.Instruction.Type instType,
int topn) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.flow.FlowRuleService flowRuleService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.statistic.FlowStatisticStore flowStatisticStore
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
public static final Comparator<org.onosproject.net.ElementId> ELEMENT_ID_COMPARATOR
public static final Comparator<org.onosproject.net.ConnectPoint> CONNECT_POINT_COMPARATOR
public static final Comparator<org.onosproject.net.statistic.TypedFlowEntryWithLoad> TYPEFLOWENTRY_WITHLOAD_COMPARATOR
@Activate public void activate()
@Deactivate public void deactivate()
public Map<org.onosproject.net.ConnectPoint,org.onosproject.net.statistic.SummaryFlowEntryWithLoad> loadSummary(org.onosproject.net.Device device)
loadSummary in interface org.onosproject.net.statistic.FlowStatisticServicepublic org.onosproject.net.statistic.SummaryFlowEntryWithLoad loadSummary(org.onosproject.net.Device device,
org.onosproject.net.PortNumber pNumber)
loadSummary in interface org.onosproject.net.statistic.FlowStatisticServicepublic Map<org.onosproject.net.ConnectPoint,List<org.onosproject.net.statistic.TypedFlowEntryWithLoad>> loadAllByType(org.onosproject.net.Device device, org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType, org.onosproject.net.flow.instructions.Instruction.Type instType)
loadAllByType in interface org.onosproject.net.statistic.FlowStatisticServicepublic List<org.onosproject.net.statistic.TypedFlowEntryWithLoad> loadAllByType(org.onosproject.net.Device device, org.onosproject.net.PortNumber pNumber, org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType, org.onosproject.net.flow.instructions.Instruction.Type instType)
loadAllByType in interface org.onosproject.net.statistic.FlowStatisticServicepublic Map<org.onosproject.net.ConnectPoint,List<org.onosproject.net.statistic.TypedFlowEntryWithLoad>> loadTopnByType(org.onosproject.net.Device device, org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType, org.onosproject.net.flow.instructions.Instruction.Type instType, int topn)
loadTopnByType in interface org.onosproject.net.statistic.FlowStatisticServicepublic List<org.onosproject.net.statistic.TypedFlowEntryWithLoad> loadTopnByType(org.onosproject.net.Device device, org.onosproject.net.PortNumber pNumber, org.onosproject.net.flow.TypedStoredFlowEntry.FlowLiveType liveType, org.onosproject.net.flow.instructions.Instruction.Type instType, int topn)
loadTopnByType in interface org.onosproject.net.statistic.FlowStatisticService