check leases periodically . concode_field_sep SortedMap<String,Lease> sortedLeasesByPath concode_elem_sep long hardLimit concode_elem_sep SortedMap<String,Lease> leases concode_elem_sep FSNamesystem fsnamesystem concode_elem_sep Collection<String> paths concode_elem_sep long lastUpdate concode_elem_sep String name concode_elem_sep SortedSet<Lease> sortedLeases concode_elem_sep String holder concode_elem_sep Log LOG concode_elem_sep long softLimit concode_field_sep void checkLeases concode_elem_sep Lease getLeaseByPath concode_elem_sep int countPath concode_elem_sep int compareTo concode_elem_sep Collection<String> getPaths concode_elem_sep void removeLeaseWithPrefixPath concode_elem_sep int hashCode concode_elem_sep boolean hasPath concode_elem_sep void removeLease concode_elem_sep void removeLease concode_elem_sep Lease getLease concode_elem_sep void changeLease concode_elem_sep void setLeasePeriod concode_elem_sep void replacePath concode_elem_sep boolean expiredSoftLimit concode_elem_sep boolean expiredHardLimit concode_elem_sep List<Map.Entry<String,Lease>> findLeaseWithPrefixPath concode_elem_sep int countLease concode_elem_sep boolean removePath concode_elem_sep void renewLease concode_elem_sep void renewLease concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Lease reassignLease concode_elem_sep void renew concode_elem_sep String findPath concode_elem_sep String findPath concode_elem_sep Lease addLease concode_elem_sep SortedSet<Lease> getSortedLeases concode_elem_sep String getHolder
void function ( ) { for ( ; fsnamesystem . isRunning ( ) ; ) { synchronized ( fsnamesystem ) { checkLeases ( ) ; } try { Thread . sleep ( 2000 ) ; } catch ( InterruptedException loc0 ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( name + "srini_string" , loc0 ) ; } } } }