@InterfaceAudience.Private public class LeaseManager extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Modifier and Type | Method and Description |
---|---|
int |
countLease() |
String |
findPath(INodeFileUnderConstruction pendingFile)
Finds the pathname for the specified pendingFile
|
org.apache.hadoop.hdfs.server.namenode.LeaseManager.Lease |
getLeaseByPath(String src) |
void |
setLeasePeriod(long softLimit,
long hardLimit) |
String |
toString() |
public org.apache.hadoop.hdfs.server.namenode.LeaseManager.Lease getLeaseByPath(String src)
public int countLease()
public String findPath(INodeFileUnderConstruction pendingFile) throws IOException
IOException
public void setLeasePeriod(long softLimit, long hardLimit)
Copyright © 2013 Apache Software Foundation. All rights reserved.