Class SyncReactorFutureZipDecorator
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorFutureDecorator
-
- org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorFutureZipDecorator
-
- All Implemented Interfaces:
SyncReactor
public class SyncReactorFutureZipDecorator extends SyncReactorFutureDecorator
EnrichesSyncReactorFutureDecorator
with state compression.
-
-
Constructor Summary
Constructors Constructor Description SyncReactorFutureZipDecorator(SyncReactor delegate, com.google.common.util.concurrent.ListeningExecutorService executorService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
SyncReactorFutureZipDecorator
public SyncReactorFutureZipDecorator(SyncReactor delegate, com.google.common.util.concurrent.ListeningExecutorService executorService)
-
-
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
- 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
-
-