class LeaseManager {

  void removeLeaseWithPrefixPath(String prefix)
      throws StorageException, TransactionContextException {
    for (Map.Entry<LeasePath, Lease> entry : findLeaseWithPrefixPath(prefix)
        .entrySet()) {
      if (LOG.isDebugEnabled()) {
        LOG.debug(LeaseManager.class.getSimpleName() +
            ".removeLeaseWithPrefixPath: entry=" + entry);
      }
      removeLease(entry.getValue(), entry.getKey());
    }
  }

    LeaseManager(FSNamesystem fsnamesystem);

}