src/org/jnetpcap/util/resolver/AbstractResolver.java
private void timeoutCacheOldest(int count) {
		synchronized (cache) {
			for (Iterator<AbstractResolver.TimeoutEntry> i = timeoutQueue.iterator(); i
					.hasNext();) {
				AbstractResolver.TimeoutEntry e = i.next();
				if (count-- > 0) {
					logger.finest(String.format("removed due to backoff %s \n",
							cache.get(e.hash)));
					cache.remove(e.hash);
					i.remove();
				} else {
					break;
				}
			}
		}
	}
/**
	 * Removes count oldest entries from the timeout cache, presumably to make
	 * room for newer entries.
	 * 
	 * @param count
	 *          the count
	 */
Removes count oldest entries from the timeout cache, presumably to make
room for newer entries.

@param count
the count
Removes count oldest entries from the timeout cache presumably to make room for newer entries . @param count the count
private void timeoutCacheOldest(int count) {
		synchronized (cache) {
			for (Iterator<AbstractResolver.TimeoutEntry> i = timeoutQueue.iterator(); i
					.hasNext();) {
				AbstractResolver.TimeoutEntry e = i.next();
				if (count-- > 0) {
					logger.finest(String.format("removed due to backoff %s \n",
							cache.get(e.hash)));
					cache.remove(e.hash);
					i.remove();
				} else {
					break;
				}
			}
		}
	}
private void timeoutCacheOldest ( int count ) { synchronized ( cache ) { for ( Iterator < AbstractResolver . TimeoutEntry > i = timeoutQueue . iterator ( ) ; i . hasNext ( ) ; ) { AbstractResolver . TimeoutEntry e = i . next ( ) ; if ( count -- > 0 ) { logger . finest ( String . format ( "removed due to backoff %s \n" , cache . get ( e . hash ) ) ) ; cache . remove ( e . hash ) ; i . remove ( ) ; } else { break ; } } } }
Removes count oldest entries from the timeout cache, presumably to make
 room for newer entries.
Removes count oldest entries from the timeout cache presumably to make room for newer entries .