Lease removeLease(final String leaseName) throws LeaseException {
    Lease lease = leases.remove(leaseName);
    if (lease == null) {
      throw new LeaseException("lease '" + leaseName + "' does not exist");
    }
    return lease;
  }
Remove named lease. Lease is removed from the map of leases.
@param leaseName name of lease
@return Removed lease
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/LeaseManager.java