if (skip) {
skip = false;
} else if (p.length() == srclen || p.charAt(srclen) == Path.SEPARATOR_CHAR) {
long openTime = entry.getValue().openTime;
if (openTime <= thresholdMillis) {
entries.add(new OpenFileInfo(entry.getKey(), openTime));
if (entries.size() >= rpcBatchSize) {
// reached the configured batch size, so return this subset
OpenFileInfo[] result = entries.toArray(
new OpenFileInfo[entries.size()]);
return result;