Examples of closeIfStale()


Examples of org.onebusaway.transit_data_federation.services.realtime.VehicleLocationCacheEntry.closeIfStale()

      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();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.