<parent>
<groupId>org.opendaylight.serviceutils</groupId>
- <artifactId>binding-parent</artifactId>
+ <artifactId>quality-parent</artifactId>
<version>0.2.0-SNAPSHOT</version>
- <relativePath>../../commons/binding-parent</relativePath>
+ <relativePath>../../commons/quality-parent</relativePath>
</parent>
<groupId>org.opendaylight.serviceutils</groupId>
}
@Override
- public synchronized void addRecoverableListener(String serviceName, final RecoverableListener recoverableListener) {
+ public synchronized void addRecoverableListener(String serviceName, RecoverableListener recoverableListener) {
recoverableListenersMap
.computeIfAbsent(serviceName, k -> new ConcurrentLinkedQueue<>())
.add(recoverableListener);
}
@Override
- public void removeRecoverableListener(String serviceName, final RecoverableListener recoverableListener) {
+ public void removeRecoverableListener(String serviceName, RecoverableListener recoverableListener) {
if (recoverableListenersMap.get(serviceName) != null) {
recoverableListenersMap.get(serviceName).remove(recoverableListener);
}
ServiceRecoveryInterface getRegisteredServiceRecoveryHandler(String entityName) {
return serviceRecoveryRegistry.get(entityName);
}
-}
\ No newline at end of file
+}