Class RouteOnTime

All Implemented Interfaces:
Serializable, Cacheable

public class RouteOnTime extends OnTimeStatsEntry implements Cacheable
A bean to provide on-time statistics by flight route.
Since:
10.3
Version:
10.3
Author:
Luke
See Also:
  • Constructor Details

    • RouteOnTime

      public RouteOnTime(String cacheKey)
      Creates the bean.
      Parameters:
      cacheKey - the cache key
  • Method Details

    • cacheKey

      public Object cacheKey()
      Description copied from interface: Cacheable
      Returns the cache key for this object. Caches call this method when adding the object.
      Specified by:
      cacheKey in interface Cacheable
      Returns:
      the cache key for the object
    • createKey

      public static String createKey(RoutePair rp, String db)
      Creates an On-Time cache key.
      Parameters:
      rp - the RoutePair
      db - the database name
      Returns:
      the cache key