public abstract class RunningMongoProcess
extends de.flapdoodle.embed.process.types.RunningProcessImpl
| Modifier | Constructor and Description |
|---|---|
protected |
RunningMongoProcess(String commandName,
de.flapdoodle.embed.process.runtime.ProcessControl process,
Path pidFile,
long timeout,
Runnable onStop,
de.flapdoodle.embed.process.config.SupportConfig supportConfig,
de.flapdoodle.os.Platform platform,
Net net,
de.flapdoodle.embed.process.io.StreamProcessor commandOutput,
int mongoProcessId) |
| Modifier and Type | Method and Description |
|---|---|
ServerAddress |
getServerAddress() |
protected boolean |
sendKillToProcess() |
protected boolean |
sendStopToMongoInstance() |
protected boolean |
sendTermToProcess() |
void |
shutDownCommandAlreadyExecuted() |
int |
stop() |
protected boolean |
tryKillToProcess() |
protected RunningMongoProcess(String commandName, de.flapdoodle.embed.process.runtime.ProcessControl process, Path pidFile, long timeout, Runnable onStop, de.flapdoodle.embed.process.config.SupportConfig supportConfig, de.flapdoodle.os.Platform platform, Net net, de.flapdoodle.embed.process.io.StreamProcessor commandOutput, int mongoProcessId)
public ServerAddress getServerAddress()
public int stop()
stop in interface de.flapdoodle.embed.process.types.RunningProcessstop in class de.flapdoodle.embed.process.types.RunningProcessImplprotected boolean sendKillToProcess()
protected boolean sendTermToProcess()
protected boolean tryKillToProcess()
protected final boolean sendStopToMongoInstance()
public void shutDownCommandAlreadyExecuted()
Copyright © 2023. All rights reserved.