public class MysqldProcess extends de.flapdoodle.embed.process.runtime.AbstractProcess<MysqldConfig,MysqldExecutable,MysqldProcess>
| 限定符和类型 | 字段和说明 |
|---|---|
private static org.slf4j.Logger |
logger |
private NotifyingStreamProcessor |
outputWatch |
| 构造器和说明 |
|---|
MysqldProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
MysqldConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig,
MysqldExecutable executable) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
cleanupInternal() |
protected List<String> |
getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution,
MysqldConfig config,
de.flapdoodle.embed.process.extract.IExtractedFileSet exe) |
private MysqldExecutable |
getExecutable()
Work-around to get Executable in hooks where it's not provided and as
all init is done in base class constructor, local vars are still not
initialized:/
|
void |
onAfterProcessStart(de.flapdoodle.embed.process.runtime.ProcessControl process,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig) |
protected void |
stopInternal() |
private boolean |
stopUsingMysqldadmin() |
getConfig, getEnvironment, getPidFromFile, getProcessId, isProcessRunning, isRegisteredJobKiller, onAfterProcessStop, onBeforeProcess, onBeforeProcessStart, pidFile, pidFile, sendKillToProcess, sendTermToProcess, setProcessId, stop, stopProcess, tryKillToProcess, waitFor, writePidFileprivate static final org.slf4j.Logger logger
private NotifyingStreamProcessor outputWatch
public MysqldProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
MysqldConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig,
MysqldExecutable executable)
throws IOException
IOExceptionpublic void onAfterProcessStart(de.flapdoodle.embed.process.runtime.ProcessControl process,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig)
throws IOException
onAfterProcessStart 在类中 de.flapdoodle.embed.process.runtime.AbstractProcess<MysqldConfig,MysqldExecutable,MysqldProcess>IOExceptionprotected List<String> getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution, MysqldConfig config, de.flapdoodle.embed.process.extract.IExtractedFileSet exe) throws IOException
getCommandLine 在类中 de.flapdoodle.embed.process.runtime.AbstractProcess<MysqldConfig,MysqldExecutable,MysqldProcess>IOExceptionprotected void stopInternal()
stopInternal 在类中 de.flapdoodle.embed.process.runtime.AbstractProcess<MysqldConfig,MysqldExecutable,MysqldProcess>protected void cleanupInternal()
cleanupInternal 在类中 de.flapdoodle.embed.process.runtime.AbstractProcess<MysqldConfig,MysqldExecutable,MysqldProcess>private boolean stopUsingMysqldadmin()
private MysqldExecutable getExecutable()
Copyright © 2020. All rights reserved.