Class SyncPlanPushStrategyFlatBatchImpl
- java.lang.Object
- 
- org.opendaylight.openflowplugin.applications.frsync.impl.strategy.SyncPlanPushStrategyFlatBatchImpl
 
- 
- All Implemented Interfaces:
- SyncPlanPushStrategy
 
 public class SyncPlanPushStrategyFlatBatchImpl extends Object implements SyncPlanPushStrategy Execute CRUD API for flow + group + meter involving flat-batch strategy.
- 
- 
Constructor SummaryConstructors Constructor Description SyncPlanPushStrategyFlatBatchImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)Invoked to execute the synchronization strategy.SyncPlanPushStrategyFlatBatchImplsetFlatBatchService(SalFlatBatchService flatBatchService)SyncPlanPushStrategyFlatBatchImplsetTableForwarder(TableForwarder tableForwarder)
 
- 
- 
- 
Method Detail- 
executeSyncStrategypublic 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:SyncPlanPushStrategyInvoked to execute the synchronization strategy.- Specified by:
- executeSyncStrategyin interface- SyncPlanPushStrategy
- Parameters:
- resultVehicle- bootstrap future - execution will chain it's async calls to this one
- diffInput- 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
 
 - 
setFlatBatchServicepublic SyncPlanPushStrategyFlatBatchImpl setFlatBatchService(SalFlatBatchService flatBatchService) 
 - 
setTableForwarderpublic SyncPlanPushStrategyFlatBatchImpl setTableForwarder(TableForwarder tableForwarder) 
 
- 
 
-