@Deprecated
@Service
public class DistributedFlowRuleStore
extends org.onosproject.store.AbstractStore<org.onosproject.net.flow.oldbatch.FlowRuleBatchEvent,org.onosproject.net.flow.FlowRuleStoreDelegate>
implements org.onosproject.net.flow.FlowRuleStore
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.store.cluster.messaging.ClusterCommunicationService |
clusterCommunicator
Deprecated.
|
protected org.onosproject.cluster.ClusterService |
clusterService
Deprecated.
|
protected org.onosproject.core.CoreService |
coreService
Deprecated.
|
protected org.onosproject.net.device.DeviceService |
deviceService
Deprecated.
|
protected org.onosproject.mastership.MastershipService |
mastershipService
Deprecated.
|
protected org.onosproject.store.service.Serializer |
serializer
Deprecated.
|
protected org.onlab.util.KryoNamespace.Builder |
serializerBuilder
Deprecated.
|
protected org.onosproject.store.service.StorageService |
storageService
Deprecated.
|
| Constructor and Description |
|---|
DistributedFlowRuleStore()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Deprecated.
|
org.onosproject.net.flow.FlowRuleEvent |
addOrUpdateFlowRule(org.onosproject.net.flow.FlowEntry rule)
Deprecated.
|
void |
batchOperationComplete(org.onosproject.net.flow.oldbatch.FlowRuleBatchEvent event)
Deprecated.
|
void |
deactivate()
Deprecated.
|
void |
deleteFlowRule(org.onosproject.net.flow.FlowRule rule)
Deprecated.
|
long |
getActiveFlowRuleCount(org.onosproject.net.DeviceId deviceId)
Deprecated.
|
java.lang.Iterable<org.onosproject.net.flow.FlowEntry> |
getFlowEntries(org.onosproject.net.DeviceId deviceId)
Deprecated.
|
org.onosproject.net.flow.FlowEntry |
getFlowEntry(org.onosproject.net.flow.FlowRule rule)
Deprecated.
|
int |
getFlowRuleCount()
Deprecated.
|
java.lang.Iterable<org.onosproject.net.flow.TableStatisticsEntry> |
getTableStatistics(org.onosproject.net.DeviceId deviceId)
Deprecated.
|
org.onosproject.net.flow.FlowRuleEvent |
pendingFlowRule(org.onosproject.net.flow.FlowEntry rule)
Deprecated.
|
void |
purgeFlowRule(org.onosproject.net.DeviceId deviceId)
Deprecated.
|
void |
purgeFlowRules()
Deprecated.
|
org.onosproject.net.flow.FlowRuleEvent |
removeFlowRule(org.onosproject.net.flow.FlowEntry rule)
Deprecated.
|
void |
storeBatch(org.onosproject.net.flow.oldbatch.FlowRuleBatchOperation operation)
Deprecated.
|
void |
storeFlowRule(org.onosproject.net.flow.FlowRule rule)
Deprecated.
|
org.onosproject.net.flow.FlowRuleEvent |
updateTableStatistics(org.onosproject.net.DeviceId deviceId,
java.util.List<org.onosproject.net.flow.TableStatisticsEntry> tableStats)
Deprecated.
|
hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@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.store.service.StorageService storageService
protected final org.onosproject.store.service.Serializer serializer
protected final org.onlab.util.KryoNamespace.Builder serializerBuilder
@Activate public void activate()
@Deactivate public void deactivate()
public int getFlowRuleCount()
getFlowRuleCount in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowEntry getFlowEntry(org.onosproject.net.flow.FlowRule rule)
getFlowEntry in interface org.onosproject.net.flow.FlowRuleStorepublic java.lang.Iterable<org.onosproject.net.flow.FlowEntry> getFlowEntries(org.onosproject.net.DeviceId deviceId)
getFlowEntries in interface org.onosproject.net.flow.FlowRuleStorepublic void storeFlowRule(org.onosproject.net.flow.FlowRule rule)
storeFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic void storeBatch(org.onosproject.net.flow.oldbatch.FlowRuleBatchOperation operation)
storeBatch in interface org.onosproject.net.flow.FlowRuleStorepublic void batchOperationComplete(org.onosproject.net.flow.oldbatch.FlowRuleBatchEvent event)
batchOperationComplete in interface org.onosproject.net.flow.FlowRuleStorepublic void deleteFlowRule(org.onosproject.net.flow.FlowRule rule)
deleteFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowRuleEvent pendingFlowRule(org.onosproject.net.flow.FlowEntry rule)
pendingFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowRuleEvent addOrUpdateFlowRule(org.onosproject.net.flow.FlowEntry rule)
addOrUpdateFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowRuleEvent removeFlowRule(org.onosproject.net.flow.FlowEntry rule)
removeFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic void purgeFlowRule(org.onosproject.net.DeviceId deviceId)
purgeFlowRule in interface org.onosproject.net.flow.FlowRuleStorepublic void purgeFlowRules()
purgeFlowRules in interface org.onosproject.net.flow.FlowRuleStorepublic org.onosproject.net.flow.FlowRuleEvent updateTableStatistics(org.onosproject.net.DeviceId deviceId,
java.util.List<org.onosproject.net.flow.TableStatisticsEntry> tableStats)
updateTableStatistics in interface org.onosproject.net.flow.FlowRuleStorepublic java.lang.Iterable<org.onosproject.net.flow.TableStatisticsEntry> getTableStatistics(org.onosproject.net.DeviceId deviceId)
getTableStatistics in interface org.onosproject.net.flow.FlowRuleStorepublic long getActiveFlowRuleCount(org.onosproject.net.DeviceId deviceId)
getActiveFlowRuleCount in interface org.onosproject.net.flow.FlowRuleStore