@Service public class DistributedFlowStatisticStore extends Object implements org.onosproject.net.statistic.FlowStatisticStore
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cfg.ComponentConfigService |
cfgService |
protected org.onosproject.store.cluster.messaging.ClusterCommunicationService |
clusterCommunicator |
protected org.onosproject.cluster.ClusterService |
clusterService |
static org.onosproject.store.cluster.messaging.MessageSubject |
GET_CURRENT |
static org.onosproject.store.cluster.messaging.MessageSubject |
GET_PREVIOUS |
protected org.onosproject.mastership.MastershipService |
mastershipService |
protected static org.onosproject.store.service.Serializer |
SERIALIZER |
| Constructor and Description |
|---|
DistributedFlowStatisticStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.service.component.ComponentContext context) |
void |
addFlowStatistic(org.onosproject.net.flow.FlowEntry rule) |
void |
deactivate() |
Set<org.onosproject.net.flow.FlowEntry> |
getCurrentFlowStatistic(org.onosproject.net.ConnectPoint connectPoint) |
Set<org.onosproject.net.flow.FlowEntry> |
getPreviousFlowStatistic(org.onosproject.net.ConnectPoint connectPoint) |
void |
modified(org.osgi.service.component.ComponentContext context) |
void |
removeFlowStatistic(org.onosproject.net.flow.FlowRule rule) |
void |
updateFlowStatistic(org.onosproject.net.flow.FlowEntry rule) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.mastership.MastershipService mastershipService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.store.cluster.messaging.ClusterCommunicationService clusterCommunicator
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cfg.ComponentConfigService cfgService
public static final org.onosproject.store.cluster.messaging.MessageSubject GET_CURRENT
public static final org.onosproject.store.cluster.messaging.MessageSubject GET_PREVIOUS
protected static final org.onosproject.store.service.Serializer SERIALIZER
@Activate public void activate(org.osgi.service.component.ComponentContext context)
@Deactivate public void deactivate()
@Modified public void modified(org.osgi.service.component.ComponentContext context)
public void removeFlowStatistic(org.onosproject.net.flow.FlowRule rule)
removeFlowStatistic in interface org.onosproject.net.statistic.FlowStatisticStorepublic void addFlowStatistic(org.onosproject.net.flow.FlowEntry rule)
addFlowStatistic in interface org.onosproject.net.statistic.FlowStatisticStorepublic void updateFlowStatistic(org.onosproject.net.flow.FlowEntry rule)
updateFlowStatistic in interface org.onosproject.net.statistic.FlowStatisticStorepublic Set<org.onosproject.net.flow.FlowEntry> getCurrentFlowStatistic(org.onosproject.net.ConnectPoint connectPoint)
getCurrentFlowStatistic in interface org.onosproject.net.statistic.FlowStatisticStorepublic Set<org.onosproject.net.flow.FlowEntry> getPreviousFlowStatistic(org.onosproject.net.ConnectPoint connectPoint)
getPreviousFlowStatistic in interface org.onosproject.net.statistic.FlowStatisticStore