public final class DatabaseServiceImpl extends ServiceAppHolderImpl implements DatabaseService
SERVICE_APP_CLASS_PROPERTY
DEFAULT_JOIN_TIMEOUT, DEFAULT_RESTART_DELAY, DEFAULT_STARTING_EXTEND, DEFAULT_STOPPING_EXTEND, DEPENDENCY_PROPERTY, JOIN_TIMEOUT_PROPERTY, MEMORY_LOG_INTERVAL_PROPERTY, MONITOR_DISABLED_PROPERTY, RESTART_ALLOWED_PROPERTY, RESTART_DELAY_PROPERTY, RESTART_IGNORED_PROPERTY, SERVICE_LOG_ID_PROPERTY, SERVICE_UUID_PROPERTY, STARTING_EXTEND_PROPERTY, STARTUP_DELAY_PROPERTY, STATS_LOG_ENABLED_PROPERTY, STOPPING_EXTEND_PROPERTY, ZOMBIE_ENABLED_PROPERTY
MIDNIGHT_EVENT, PING_SIGNAL, PONG_EVENT, RESTART_NOW_SIGNAL, RESTART_SIGNAL, RESUME_SIGNAL, RESUMED_EVENT, STARTED_EVENT, STOP_NOW_SIGNAL, STOP_SIGNAL, STOPPED_EVENT, SUSPEND_SIGNAL, SUSPENDED_EVENT, WATCHDOG_EVENT, ZOMBIE_EVENT
Constructor and Description |
---|
DatabaseServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getConnectionURL()
Gets the connection URL.
|
File |
getDatabaseDataDir()
Gets the database data directory.
|
DialectSupport |
getDialectSupport()
Gets a dialect support object.
|
protected ServiceApp |
newServiceApp()
Creates a new service application.
|
createStats, doPendingActions, doStart, doStop, getServiceApp, getServiceAppClassDef, onAlert, onEvent, onServicesNotReady, onSignal, setUp, tearDown
addAlertListener, cancelRestarters, disableSuspend, doRun, enableSuspend, exportAgent, fail, getAlerter, getConfig, getDataDir, getEntityName, getJoinTimeout, getMutex, getOptionalSourceUUID, getServiceActivator, getServiceUUID, getSourceUUID, isJMXRegistrationEnabled, isRunning, isStarted, isStopped, isStopping, isWait, isZombie, monitorService, onServiceStartFailure, registerServer, removeAlertListener, restart, restoreConfigState, restoreMonitored, resume, run, saveConfigState, saveMonitored, sendAlert, sendEvent, sendSignal, setRestartEnabled, setRestartSignaled, setSourceUUID, starting, stopping, suspend, tearDownConfig, trySuspend, unregisterServer
addStats, closeSnoozeAlarm, getLogID, getServiceActivatorBase, getServiceName, getStats, getThisLogger, getThread, getTimer, getVersion, interrupt, isCurrentThread, isThreadStarted, join, logStats, scheduleMidnightLogger, setLogID, setServiceActivatorBase, setServiceName, snooze, starting, startThread, startTimer, stopping, stopTimer, toString, uncaughtException, updateStats, wakeUp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAlertListener, disableSuspend, enableSuspend, exportAgent, getAlerter, getConfig, getDataDir, getEntityName, getJoinTimeout, getOptionalSourceUUID, getServiceActivator, getServiceUUID, getSourceUUID, isRunning, isStarted, isStopped, isStopping, isWait, isZombie, monitorService, registerServer, removeAlertListener, restart, restoreConfigState, restoreMonitored, resume, saveConfigState, saveMonitored, sendAlert, sendEvent, sendSignal, setRestartEnabled, setSourceUUID, starting, stopping, suspend, trySuspend, unregisterServer
addStats, fail, getServiceName, getStats, getTimer, isJMXRegistrationEnabled, snooze, starting, stopping, wakeUp
public String getConnectionURL()
getConnectionURL
in interface DatabaseService
public File getDatabaseDataDir()
getDatabaseDataDir
in interface DatabaseService
public DialectSupport getDialectSupport()
Used by tests procedures.
getDialectSupport
in interface DatabaseService
protected ServiceApp newServiceApp()
newServiceApp
in class ServiceAppHolderImpl
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.