Package org.bedework.timezones.common
Class ZipCachedData
java.lang.Object
org.bedework.timezones.common.AbstractCachedData
org.bedework.timezones.common.ZipCachedData
- All Implemented Interfaces:
Serializable,CachedData,org.bedework.util.logging.Logged
Cached data affected by the source data.
- Author:
- douglm
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.timezones.common.AbstractCachedData
AbstractCachedData.AliasMaps -
Field Summary
Fields inherited from class org.bedework.timezones.common.AbstractCachedData
aliasMaps, cfg, dtstamp, expansions, msgPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUpdate from primary source if any.Find tz identifiers or alias names that (partially) match the given valuevoidstop()Stop any running threads.voidupdateData(String dtstamp, List<Differ.DiffListEntry> dles) Update the stored data using the given update list.Methods inherited from class org.bedework.timezones.common.AbstractCachedData
addAlias, escape, findAliases, findTimezones, fromAlias, getAliasedCachedVtz, getAliasedXTimeZone, getAliasesStr, getAllCachedVtzs, getCachedVtz, getDtstamp, getExpanded, getLogger, getNameList, getStats, getTimeZone, getTimezones, getTimezones, getXTimeZone, parseDef, processSpec, processSpec, resetTzs, setExpanded, vtzFromCalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
ZipCachedData
- Parameters:
cfg-- Throws:
TzException
-
-
Method Details
-
stop
Description copied from interface:CachedDataStop any running threads.- Throws:
TzException- on fatal error
-
getSource
- Returns:
- String source information for data.
- Throws:
TzException- on fatal error
-
checkData
Description copied from interface:CachedDataUpdate from primary source if any.- Throws:
TzException- on fatal error
-
updateData
Description copied from interface:CachedDataUpdate 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 changedles- diff list- Throws:
TzException- on fatal error
-
findIds
Description copied from class:AbstractCachedDataFind tz identifiers or alias names that (partially) match the given value- Specified by:
findIdsin classAbstractCachedData- Parameters:
val- pattern to match- Returns:
- list of strings - never null
- Throws:
TzException- on fatal error
-