private boolean inExcludedHostsList ( TaskTrackerStatus status ) { Set < String > excludeList = hostsReader . getExcludedHosts ( ) ; return excludeList . contains ( status . getHost ( ) ) ; }
Return if the specified tasktracker is in the exclude list .