@Service public class DistributedStatisticStore extends Object implements org.onosproject.net.statistic.StatisticStore
| Modifier and Type | Field and Description |
|---|---|
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.serializers.StoreSerializer |
SERIALIZER |
| Constructor and Description |
|---|
DistributedStatisticStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addOrUpdateStatistic(org.onosproject.net.flow.FlowEntry rule) |
void |
deactivate() |
Set<org.onosproject.net.flow.FlowEntry> |
getCurrentStatistic(org.onosproject.net.ConnectPoint connectPoint) |
Set<org.onosproject.net.flow.FlowEntry> |
getPreviousStatistic(org.onosproject.net.ConnectPoint connectPoint) |
void |
modified(org.osgi.service.component.ComponentContext context) |
void |
prepareForStatistics(org.onosproject.net.flow.FlowRule rule) |
void |
removeFromStatistics(org.onosproject.net.flow.FlowRule 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
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.serializers.StoreSerializer SERIALIZER
@Activate public void activate()
@Deactivate public void deactivate()
@Modified public void modified(org.osgi.service.component.ComponentContext context)
public void prepareForStatistics(org.onosproject.net.flow.FlowRule rule)
prepareForStatistics in interface org.onosproject.net.statistic.StatisticStorepublic void removeFromStatistics(org.onosproject.net.flow.FlowRule rule)
removeFromStatistics in interface org.onosproject.net.statistic.StatisticStorepublic void addOrUpdateStatistic(org.onosproject.net.flow.FlowEntry rule)
addOrUpdateStatistic in interface org.onosproject.net.statistic.StatisticStorepublic Set<org.onosproject.net.flow.FlowEntry> getCurrentStatistic(org.onosproject.net.ConnectPoint connectPoint)
getCurrentStatistic in interface org.onosproject.net.statistic.StatisticStorepublic Set<org.onosproject.net.flow.FlowEntry> getPreviousStatistic(org.onosproject.net.ConnectPoint connectPoint)
getPreviousStatistic in interface org.onosproject.net.statistic.StatisticStoreCopyright © 2016. All rights reserved.