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
Enriches SyncReactorFutureDecorator with state compression.
  • 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 interface SyncReactor
      Overrides:
      syncup in class SyncReactorFutureDecorator
      Parameters:
      flowcapableNodePath - path to openflow augmentation of node
      syncupEntry - 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 class SyncReactorFutureDecorator