@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 |
protected ReplicaInfoService |
replicaInfoManager |
protected static org.onosproject.store.serializers.KryoSerializer |
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 |
prepareForStatistics(org.onosproject.net.flow.FlowRule rule) |
void |
removeFromStatistics(org.onosproject.net.flow.FlowRule rule) |
@Reference(cardinality=MANDATORY_UNARY) protected ReplicaInfoService replicaInfoManager
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.store.cluster.messaging.ClusterCommunicationService clusterCommunicator
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
protected static final org.onosproject.store.serializers.KryoSerializer SERIALIZER
@Activate public void activate()
@Deactivate public void deactivate()
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 © 2015. All rights reserved.