Class SyncPlanPushStrategyIncrementalImpl
java.lang.Object
org.opendaylight.openflowplugin.applications.frsync.impl.strategy.SyncPlanPushStrategyIncrementalImpl
- All Implemented Interfaces:
SyncPlanPushStrategy
Execute CRUD API for flow + group + meter involving one-by-one (incremental) strategy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<Void>>
executeSyncStrategy
(com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<Void>> resultVehicle, SynchronizationDiffInput diffInput, SyncCrudCounters counters) Invoked to execute the synchronization strategy.setFlowForwarder
(FlowForwarder flowForwarder) setGroupForwarder
(GroupForwarder groupForwarder) setMeterForwarder
(MeterForwarder meterForwarder) setTableForwarder
(TableForwarder tableForwarder) Deprecated, for removal: This API element is subject to removal in a future version.setTransactionService
(FlowCapableTransactionService transactionService)
-
Constructor Details
-
SyncPlanPushStrategyIncrementalImpl
public SyncPlanPushStrategyIncrementalImpl()
-
-
Method Details
-
executeSyncStrategy
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<Void>> executeSyncStrategy(com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<Void>> resultVehicle, SynchronizationDiffInput diffInput, SyncCrudCounters counters) Description copied from interface:SyncPlanPushStrategy
Invoked to execute the synchronization strategy.- Specified by:
executeSyncStrategy
in interfaceSyncPlanPushStrategy
- Parameters:
resultVehicle
- bootstrap future - execution will chain it's async calls to this onediffInput
- wraps all diff data required for any strategy ({add,remove,update} x {flow,group,meter})counters
- reference to internal one-shot statistics - summary off successfully pushed items shall be recorded here- Returns:
- last future of the chain
-
setFlowForwarder
-
setTableForwarder
@Deprecated(since="0.17.2", forRemoval=true) public SyncPlanPushStrategyIncrementalImpl setTableForwarder(TableForwarder tableForwarder) Deprecated, for removal: This API element is subject to removal in a future version. -
setMeterForwarder
-
setGroupForwarder
-
setTransactionService
public SyncPlanPushStrategyIncrementalImpl setTransactionService(FlowCapableTransactionService transactionService)
-