public void releaseRemoteDownloadLock(String svcId){
  try {
    if (_remoteDownloadLock != null) {
      _remoteDownloadLock.release();
      publishRemoteDownloadLeader(null);
    }
  }
 catch (  Exception e) {
    _log.error("Can not release leader lock {}",svcId,e);
  }
}

public void releaseRemoteDownloadLock ( String svcId ) { try { if ( _remoteDownloadLock != null ) { _remoteDownloadLock . release ( ) ; publishRemoteDownloadLeader ( null ) ; } } catch ( Exception e ) { _log . error ( "Can not release leader lock {}" , svcId , e ) ; } }
the method to release the non - persistent remote download lock
