Class PostgresUserManager
java.lang.Object
com.aoindustries.aoserv.daemon.util.BuilderThread
com.aoindustries.aoserv.daemon.postgres.PostgresUserManager
- All Implemented Interfaces:
TableListener
,PackageManager.PackageListener
Controls the PostgreSQL server.
- 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
Modifier and TypeMethodDescriptionprotected boolean
static String
getPassword
(UserServer psu) static void
setPassword
(UserServer psu, String password, boolean forceUnencrypted) static void
start()
static void
Methods inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
getMaximumDelay, getMinimumDelay, getProcessTimerMaximumTime, getProcessTimerReminderInterval, getProcessTimerSubject, getRandomDelay, packageListUpdated, tableUpdated, waitForBuild
-
Method Details
-
doRebuild
protected boolean doRebuild()- Specified by:
doRebuild
in classBuilderThread
- Returns:
true
if successful orfalse
if unsuccessful and needs to be retried.
-
getPassword
- Throws:
IOException
SQLException
-
setPassword
public static void setPassword(UserServer psu, String password, boolean forceUnencrypted) throws IOException, SQLException - Throws:
IOException
SQLException
-
start
- Throws:
IOException
SQLException
-
waitForRebuild
public static void waitForRebuild() -
getProcessTimerDescription
- Specified by:
getProcessTimerDescription
in classBuilderThread
-