public boolean releaseLease(String leaseId) {
    try {
      leaseBlob.releaseLease(AccessCondition.generateLeaseCondition(leaseId));
      return true;
    } catch (StorageException storageException) {
      LOG.error("Wasn't able to release lease with lease id: " + leaseId, storageException);
      return false;
    }
  }
Releases the lease on the blob.
@param leaseId ID of the lease to be released.
@return True if released successfully, false otherwise.
samza-azure/src/main/java/org/apache/samza/util/LeaseBlobManager.java