Class ServiceRecoveryRegistryImpl
- java.lang.Object
-
- org.opendaylight.serviceutils.srm.impl.ServiceRecoveryRegistryImpl
-
- All Implemented Interfaces:
ServiceRecoveryRegistry
@Singleton public 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)
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
-
-