Class TimeZoneManager
java.lang.Object
com.aoindustries.aoserv.daemon.util.BuilderThread
com.aoindustries.aoserv.daemon.timezone.TimeZoneManager
- All Implemented Interfaces:
TableListener,PackageManager.PackageListener
Configures the timezone settings in /etc/localtime and /etc/sysconfig/clock based on the
settings in the ao_servers table.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
DEFAULT_MAXIMUM_DELAY, DEFAULT_MINIMUM_DELAY, DEFAULT_PROCESS_TIMER_MAXIMUM_TIME, DEFAULT_PROCESS_TIMER_REMINDER_INTERVAL -
Method Summary
Methods inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
getMaximumDelay, getMinimumDelay, getProcessTimerReminderInterval, getProcessTimerSubject, getRandomDelay, packageListUpdated, tableUpdated, waitForBuild
-
Method Details
-
start
- Throws:
IOExceptionSQLException
-
doRebuild
protected boolean doRebuild()- Specified by:
doRebuildin classBuilderThread- Returns:
trueif successful orfalseif unsuccessful and needs to be retried.
-
getProcessTimerDescription
- Specified by:
getProcessTimerDescriptionin classBuilderThread
-
getProcessTimerMaximumTime
public long getProcessTimerMaximumTime()- Overrides:
getProcessTimerMaximumTimein classBuilderThread
-
