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 class
ArbitratorReconciliationManagerImpl.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 void
close()
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 openflowpluginString
getName()
int
getPriority()
ResultState
getResultState()
void
start()
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:
close
in 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:ArbitratorReconcileService
Commits the active available bundle in openflowplugin- Specified by:
commitActiveBundle
in interfaceArbitratorReconcileService
-
getActiveBundle
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetActiveBundleOutput>> getActiveBundle(GetActiveBundleInput input)
Description copied from interface:ArbitratorReconcileService
Fetches the active available bundle in openflowplugin- Specified by:
getActiveBundle
in interfaceArbitratorReconcileService
-
startReconciliation
public com.google.common.util.concurrent.ListenableFuture<Boolean> startReconciliation(DeviceInfo node)
- Specified by:
startReconciliation
in interfaceReconciliationNotificationListener
-
endReconciliation
public com.google.common.util.concurrent.ListenableFuture<Boolean> endReconciliation(DeviceInfo node)
- Specified by:
endReconciliation
in interfaceReconciliationNotificationListener
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceReconciliationNotificationListener
-
getName
public String getName()
- Specified by:
getName
in interfaceReconciliationNotificationListener
-
getResultState
public ResultState getResultState()
- Specified by:
getResultState
in interfaceReconciliationNotificationListener
-
-