Class ArbitratorReconciliationManagerImpl
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.arbitratorreconciliation.impl.ArbitratorReconciliationManagerImpl
-
- All Implemented Interfaces:
AutoCloseable,ReconciliationNotificationListener,ArbitratorReconcileService,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton public class ArbitratorReconciliationManagerImpl extends Object implements ArbitratorReconcileService, ReconciliationNotificationListener, AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classArbitratorReconciliationManagerImpl.CommitActiveBundleCallback
-
Constructor Summary
Constructors Constructor Description ArbitratorReconciliationManagerImpl(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry, ReconciliationManager reconciliationManager, org.opendaylight.serviceutils.upgrade.UpgradeState upgradeState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CommitActiveBundleOutput>>commitActiveBundle(CommitActiveBundleInput input)Commits the active available bundle in openflowplugincom.google.common.util.concurrent.ListenableFuture<Boolean>endReconciliation(DeviceInfo node)com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetActiveBundleOutput>>getActiveBundle(GetActiveBundleInput input)Fetches the active available bundle in openflowpluginStringgetName()intgetPriority()ResultStategetResultState()voidstart()com.google.common.util.concurrent.ListenableFuture<Boolean>startReconciliation(DeviceInfo node)
-
-
-
Constructor Detail
-
ArbitratorReconciliationManagerImpl
@Inject public ArbitratorReconciliationManagerImpl(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry, ReconciliationManager reconciliationManager, org.opendaylight.serviceutils.upgrade.UpgradeState upgradeState)
-
-
Method Detail
-
start
@PostConstruct public void start()
-
close
@PreDestroy public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
commitActiveBundle
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CommitActiveBundleOutput>> commitActiveBundle(CommitActiveBundleInput input)
Description copied from interface:ArbitratorReconcileServiceCommits the active available bundle in openflowplugin- Specified by:
commitActiveBundlein interfaceArbitratorReconcileService
-
getActiveBundle
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetActiveBundleOutput>> getActiveBundle(GetActiveBundleInput input)
Description copied from interface:ArbitratorReconcileServiceFetches the active available bundle in openflowplugin- Specified by:
getActiveBundlein interfaceArbitratorReconcileService
-
startReconciliation
public com.google.common.util.concurrent.ListenableFuture<Boolean> startReconciliation(DeviceInfo node)
- Specified by:
startReconciliationin interfaceReconciliationNotificationListener
-
endReconciliation
public com.google.common.util.concurrent.ListenableFuture<Boolean> endReconciliation(DeviceInfo node)
- Specified by:
endReconciliationin interfaceReconciliationNotificationListener
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceReconciliationNotificationListener
-
getName
public String getName()
- Specified by:
getNamein interfaceReconciliationNotificationListener
-
getResultState
public ResultState getResultState()
- Specified by:
getResultStatein interfaceReconciliationNotificationListener
-
-