Class FileCachedData

java.lang.Object
org.bedework.timezones.common.AbstractCachedData
org.bedework.timezones.common.FileCachedData
All Implemented Interfaces:
Serializable, CachedData, org.bedework.util.logging.Logged

public class FileCachedData extends AbstractCachedData
Cached data obtained from a set of files and directories..
Author:
douglm
See Also:
  • Constructor Details

  • Method Details

    • stop

      public void stop()
      Description copied from interface: CachedData
      Stop any running threads.
    • getSource

      public String getSource()
      Returns:
      String source information for data.
    • checkData

      public void checkData() throws TzException
      Description copied from interface: CachedData
      Update from primary source if any.
      Throws:
      TzException - on fatal error
    • updateData

      public void updateData(String dtstamp, List<Differ.DiffListEntry> dles)
      Description copied from interface: CachedData
      Update the stored data using the given update list. Note that the update may be transient if the data cache has no or an unchangable backing.
      Parameters:
      dtstamp - lastmod for change
      dles - diff list
    • findIds

      public List<String> findIds(String val)
      Description copied from class: AbstractCachedData
      Find tz identifiers or alias names that (partially) match the given value
      Specified by:
      findIds in class AbstractCachedData
      Parameters:
      val - pattern to match
      Returns:
      list of strings - never null