Class SyncReactorGuardDecorator
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorGuardDecorator
-
- All Implemented Interfaces:
SyncReactor
public class SyncReactorGuardDecorator extends Object implements SyncReactor
Decorator for NodeId level syncup locking.
-
-
Constructor Summary
Constructors Constructor Description SyncReactorGuardDecorator(SyncReactor delegate)
-
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
-
SyncReactorGuardDecorator
public SyncReactorGuardDecorator(SyncReactor delegate)
-
-
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
-
-