public interface FlowStatisticService
Modifier and Type | Method and Description |
---|---|
java.util.Map<ConnectPoint,java.util.List<FlowEntryWithLoad>> |
loadAllByType(Device device,
FlowEntry.FlowLiveType liveType,
Instruction.Type instType)
Obtain the set of the flow type and load list for the device with the given link.
|
java.util.List<FlowEntryWithLoad> |
loadAllByType(Device device,
PortNumber pNumber,
FlowEntry.FlowLiveType liveType,
Instruction.Type instType)
Obtain the flow type and load list for the device with the given link or port.
|
java.util.Map<ConnectPoint,SummaryFlowEntryWithLoad> |
loadSummary(Device device)
Obtain the summary load list for the device with the given link.
|
SummaryFlowEntryWithLoad |
loadSummary(Device device,
PortNumber pNumber)
Obtain the summary load for the device with the given link or port.
|
java.util.Map<ConnectPoint,java.util.List<FlowEntryWithLoad>> |
loadTopnByType(Device device,
FlowEntry.FlowLiveType liveType,
Instruction.Type instType,
int topn)
Obtain the set of the flow type and load topn list for the device with the given link.
|
java.util.List<FlowEntryWithLoad> |
loadTopnByType(Device device,
PortNumber pNumber,
FlowEntry.FlowLiveType liveType,
Instruction.Type instType,
int topn)
Obtain the flow type and load topn list for the device with the given link or port.
|
java.util.Map<ConnectPoint,SummaryFlowEntryWithLoad> loadSummary(Device device)
device
- the Device to query.SummaryFlowEntryWithLoad loadSummary(Device device, PortNumber pNumber)
device
- the Device to query.pNumber
- the port number to query.java.util.Map<ConnectPoint,java.util.List<FlowEntryWithLoad>> loadAllByType(Device device, FlowEntry.FlowLiveType liveType, Instruction.Type instType)
device
- the Device to query.liveType
- the FlowLiveType to filter, null means no filtering .instType
- the InstructionType to filter, null means no filtering.java.util.List<FlowEntryWithLoad> loadAllByType(Device device, PortNumber pNumber, FlowEntry.FlowLiveType liveType, Instruction.Type instType)
device
- the Device to query.pNumber
- the port number of the Device to queryliveType
- the FlowLiveType to filter, null means no filtering .instType
- the InstructionType to filter, null means no filtering.java.util.Map<ConnectPoint,java.util.List<FlowEntryWithLoad>> loadTopnByType(Device device, FlowEntry.FlowLiveType liveType, Instruction.Type instType, int topn)
device
- the Device to query.liveType
- the FlowLiveType to filter, null means no filtering .instType
- the InstructionType to filter, null means no filtering.topn
- the top number to filter, null means no filtering.java.util.List<FlowEntryWithLoad> loadTopnByType(Device device, PortNumber pNumber, FlowEntry.FlowLiveType liveType, Instruction.Type instType, int topn)
device
- the Device to query.pNumber
- the port number of the Device to queryliveType
- the FlowLiveType to filter, null means no filtering .instType
- the InstructionType to filter, null means no filtering.topn
- the top n list entry