Package org.bedework.timezones.service
Interface TzConfMBean
- All Superinterfaces:
org.bedework.util.jmx.BaseMBean,org.bedework.util.jmx.ConfBaseMBean,TzConfig
- All Known Implementing Classes:
TzConf
Run the timezones service
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionCheck with primary sourcecompareData(String tzdataUrl) Compare data pointed to by tzdataUrl with the current data.getStats()Get the current stats(Re)load the configurationRefresh all the data - almost a restartupdateData(String tzdataUrl) Update the data from the data at the given urlMethods inherited from interface org.bedework.util.jmx.BaseMBean
getServiceName, isRunning, start, stopMethods inherited from interface org.bedework.util.jmx.ConfBaseMBean
getConfigName, getStatus, saveConfig, setStatusMethods inherited from interface org.bedework.timezones.common.TzConfig
getDbPath, getDtstamp, getPrimaryServer, getPrimaryUrl, getRefreshDelay, getSource, getTzdataUrl, getVersion, setDbPath, setDtstamp, setPrimaryServer, setPrimaryUrl, setRefreshDelay, setSource, setTzdataUrl, setVersion
-
Method Details
-
getStats
Get the current stats- Returns:
- List of Stat
-
compareData
Compare data pointed to by tzdataUrl with the current data.- Parameters:
tzdataUrl- to compare with- Returns:
- completion code.
-
refreshData
String refreshData()Refresh all the data - almost a restart- Returns:
- completion code.
-
updateData
Update the data from the data at the given url- Parameters:
tzdataUrl- reference to data- Returns:
- completion code.
-
checkData
String checkData()Check with primary source- Returns:
- completion code.
-
loadConfig
String loadConfig()(Re)load the configuration- Returns:
- status
-