Entry<AgencyAndId, VehicleLocationCacheEntry> entry = it.next();
AgencyAndId vehicleId = entry.getKey();
VehicleLocationCacheEntry cacheEntry = entry.getValue();
if (cacheEntry.closeIfStale(time)) {
if (_log.isDebugEnabled())
_log.debug("pruning block location record cache for vehicle="
+ vehicleId + " block=" + cacheEntry.getBlockInstance());
it.remove();