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