Class SyncReactorFutureZipDecorator
java.lang.Object
org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorFutureDecorator
org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorFutureZipDecorator
- All Implemented Interfaces:
SyncReactor
Enriches
SyncReactorFutureDecorator
with state compression.-
Constructor Summary
ConstructorDescriptionSyncReactorFutureZipDecorator
(SyncReactor delegate, com.google.common.util.concurrent.ListeningExecutorService executorService) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.util.concurrent.ListenableFuture<Boolean>
doSyncupInFuture
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry) com.google.common.util.concurrent.ListenableFuture<Boolean>
syncup
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry) Invoked to synchronize a device.
-
Constructor Details
-
SyncReactorFutureZipDecorator
public SyncReactorFutureZipDecorator(SyncReactor delegate, com.google.common.util.concurrent.ListeningExecutorService executorService)
-
-
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
- Overrides:
syncup
in classSyncReactorFutureDecorator
- Parameters:
flowcapableNodePath
- path to openflow augmentation of nodesyncupEntry
- configured node + device reflection- Returns:
- synchronization outcome
-
doSyncupInFuture
protected com.google.common.util.concurrent.ListenableFuture<Boolean> doSyncupInFuture(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry) - Overrides:
doSyncupInFuture
in classSyncReactorFutureDecorator
-