public abstract class AbstractPGProcess<E extends de.flapdoodle.embed.process.runtime.Executable<PostgresConfig,P>,P extends de.flapdoodle.embed.process.runtime.IStopable> extends de.flapdoodle.embed.process.runtime.AbstractProcess<PostgresConfig,E,P>
| Constructor and Description |
|---|
AbstractPGProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
PostgresConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig,
E executable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanupInternal() |
protected void |
onBeforeProcessStart(ProcessBuilder processBuilder,
PostgresConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig) |
protected void |
stopInternal() |
getCommandLine, getConfig, getEnvironment, getPidFromFile, getProcessId, isProcessRunning, onAfterProcessStart, onAfterProcessStop, onBeforeProcess, pidFile, pidFile, sendKillToProcess, sendTermToProcess, setProcessId, stop, stopProcess, tryKillToProcess, waitFor, writePidFilepublic AbstractPGProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
PostgresConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig,
E executable)
throws IOException
IOExceptionprotected void onBeforeProcessStart(ProcessBuilder processBuilder, PostgresConfig config, de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig)
onBeforeProcessStart in class de.flapdoodle.embed.process.runtime.AbstractProcess<PostgresConfig,E extends de.flapdoodle.embed.process.runtime.Executable<PostgresConfig,P>,P extends de.flapdoodle.embed.process.runtime.IStopable>protected void stopInternal()
stopInternal in class de.flapdoodle.embed.process.runtime.AbstractProcess<PostgresConfig,E extends de.flapdoodle.embed.process.runtime.Executable<PostgresConfig,P>,P extends de.flapdoodle.embed.process.runtime.IStopable>protected void cleanupInternal()
cleanupInternal in class de.flapdoodle.embed.process.runtime.AbstractProcess<PostgresConfig,E extends de.flapdoodle.embed.process.runtime.Executable<PostgresConfig,P>,P extends de.flapdoodle.embed.process.runtime.IStopable>Copyright © 2015 Yandex. All Rights Reserved.