public interface StatisticStore
| Modifier and Type | Method and Description |
|---|---|
void |
addOrUpdateStatistic(FlowEntry rule)
Adds a stats observation for a flow rule.
|
Set<FlowEntry> |
getCurrentStatistic(ConnectPoint connectPoint)
Fetches the current observed stats values.
|
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 FlowRulevoid removeFromStatistics(FlowRule rule)
rule - FlowRulevoid addOrUpdateStatistic(FlowEntry rule)
rule - a FlowEntrySet<FlowEntry> getCurrentStatistic(ConnectPoint connectPoint)
connectPoint - the port to fetch information forSet<FlowEntry> getPreviousStatistic(ConnectPoint connectPoint)
connectPoint - the port to fetch information for