Class SyncReactorRetryDecorator
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorRetryDecorator
-
- All Implemented Interfaces:
SyncReactor
public class SyncReactorRetryDecorator extends Object implements SyncReactor
Adding retry mechanism in case of unsuccessful syncup.
-
-
Constructor Summary
Constructors Constructor Description SyncReactorRetryDecorator(SyncReactor delegate, ReconciliationRegistry reconciliationRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Boolean>
syncup(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry)
Invoked to synchronize a device.
-
-
-
Constructor Detail
-
SyncReactorRetryDecorator
public SyncReactorRetryDecorator(SyncReactor delegate, ReconciliationRegistry reconciliationRegistry)
-
-
Method Detail
-
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
-
-