Class SyncReactorRetryDecorator
java.lang.Object
org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorRetryDecorator
- All Implemented Interfaces:
SyncReactor
Adding retry mechanism in case of unsuccessful syncup.
-
Constructor Summary
ConstructorDescriptionSyncReactorRetryDecorator
(SyncReactor delegate, ReconciliationRegistry reconciliationRegistry) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Boolean>
syncup
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry) Invoked to synchronize a device.
-
Constructor Details
-
SyncReactorRetryDecorator
public SyncReactorRetryDecorator(SyncReactor delegate, ReconciliationRegistry reconciliationRegistry)
-
-
Method Details
-
syncup
public com.google.common.util.concurrent.ListenableFuture<Boolean> syncup(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry) Description copied from interface:SyncReactor
Invoked to synchronize a device.- Specified by:
syncup
in interfaceSyncReactor
- Parameters:
flowcapableNodePath
- path to openflow augmentation of nodesyncupEntry
- configured node + device reflection- Returns:
- synchronization outcome
-