public interface StatisticStore
Modifier and Type | Method and Description |
---|---|
void |
addOrUpdateStatistic(FlowEntry rule)
Adds a stats observation for a flow rule.
|
java.util.Set<FlowEntry> |
getCurrentStatistic(ConnectPoint connectPoint)
Fetches the current observed stats values.
|
java.util.Set<FlowEntry> |
getPreviousStatistic(ConnectPoint connectPoint)
Fetches the previous observed stats values.
|
void |
prepareForStatistics(FlowRule rule)
Lay the foundation for receiving flow stats for this rule.
|
void |
removeFromStatistics(FlowRule rule)
Remove entries associated with this rule.
|
void prepareForStatistics(FlowRule rule)
rule
- a FlowRule
void removeFromStatistics(FlowRule rule)
rule
- FlowRule
void addOrUpdateStatistic(FlowEntry rule)
rule
- a FlowEntry
java.util.Set<FlowEntry> getCurrentStatistic(ConnectPoint connectPoint)
connectPoint
- the port to fetch information forjava.util.Set<FlowEntry> getPreviousStatistic(ConnectPoint connectPoint)
connectPoint
- the port to fetch information for