LeaseManager

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,016 of 1,0160%120 of 1200%94942422423434
checkLeases(Collection)2220%280%1515494911
getINodeWithLeases(INodeDirectory)1380%140%88282811
getUnderConstructionFiles(long, String)1140%160%99343411
getNumUnderConstructionBlocks()880%160%99212111
getINodesWithLease()480%80%559911
addLease(String, long)380%20%228811
LeaseManager(FSNamesystem)330%n/a119911
removeLease(LeaseManager.Lease, long)300%60%447711
getExpiredCandidateLeases()290%40%337711
startMonitor()240%20%225511
stopMonitor()230%20%229911
reassignLease(LeaseManager.Lease, INodeFile, String)220%60%444411
toString()210%n/a111111
removeLease(String, INodeFile)190%20%226611
renewAllLeases()170%20%224411
updateInternalLeaseHolder()150%n/a114411
getInternalLeaseHolder()150%20%224411
removeLease(long)140%20%224411
isMaxLockHoldToReleaseLease(long)120%20%222211
triggerMonitorCheckNow()120%20%223311
static {...}120%20%223311
getLease(INodeFile)80%n/a111111
removeAllLeases()70%n/a113311
setLeasePeriod(long, long)70%n/a113311
getLease(String)60%n/a111111
renewLease(String)60%n/a112211
getUnderConstructionFiles(long)50%n/a111111
countPath()50%n/a111111
renewLease(LeaseManager.Lease)50%20%223311
checkLeases()50%n/a111111
getINodeIdWithLeases()40%n/a111111
getINodeWithLeases()40%n/a111111
countLease()40%n/a111111
runLeaseChecks()40%n/a112211