Class ServiceRecoveryRegistryImpl
- java.lang.Object
-
- org.opendaylight.serviceutils.srm.impl.ServiceRecoveryRegistryImpl
-
- All Implemented Interfaces:
ServiceRecoveryRegistry
@Singleton @RequireServiceComponentRuntime public final class ServiceRecoveryRegistryImpl extends Object implements ServiceRecoveryRegistry
-
-
Constructor Summary
Constructors Constructor Description ServiceRecoveryRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRecoverableListener(String serviceName, RecoverableListener recoverableListener)
Queue<RecoverableListener>
getRecoverableListeners(String serviceName)
ServiceRecoveryInterface
getRegisteredServiceRecoveryHandler(String entityName)
void
registerServiceRecoveryRegistry(String entityName, ServiceRecoveryInterface serviceRecoveryHandler)
void
removeRecoverableListener(String serviceName, RecoverableListener recoverableListener)
-
-
-
Method Detail
-
registerServiceRecoveryRegistry
public void registerServiceRecoveryRegistry(String entityName, ServiceRecoveryInterface serviceRecoveryHandler)
- Specified by:
registerServiceRecoveryRegistry
in interfaceServiceRecoveryRegistry
-
addRecoverableListener
public void addRecoverableListener(String serviceName, RecoverableListener recoverableListener)
- Specified by:
addRecoverableListener
in interfaceServiceRecoveryRegistry
-
removeRecoverableListener
public void removeRecoverableListener(String serviceName, RecoverableListener recoverableListener)
- Specified by:
removeRecoverableListener
in interfaceServiceRecoveryRegistry
-
getRecoverableListeners
public Queue<RecoverableListener> getRecoverableListeners(String serviceName)
- Specified by:
getRecoverableListeners
in interfaceServiceRecoveryRegistry
-
getRegisteredServiceRecoveryHandler
public ServiceRecoveryInterface getRegisteredServiceRecoveryHandler(String entityName)
- Specified by:
getRegisteredServiceRecoveryHandler
in interfaceServiceRecoveryRegistry
-
-