Include impacted changes for APPC-346,APPC-348
[appc.git] / appc-dispatcher / appc-dispatcher-common / lock-manager-lib / lock-manager-api / src / main / java / org / onap / appc / lockmanager / api / LockManager.java
index e6a0fb7..7236906 100644 (file)
@@ -69,4 +69,13 @@ public interface LockManager {
 
     boolean isLocked(String resource);
 
+    /**
+     * returns the oner of the resource
+     * if no one owns, returns null
+     * @param resource
+     * @return owner of the resource
+     */
+
+    String getLockOwner(String resource);
+
 }