public class MongoRestoreProcess extends AbstractMongoProcess<MongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>
| Constructor and Description |
|---|
MongoRestoreProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
MongoRestoreConfig config,
de.flapdoodle.embed.process.config.RuntimeConfig runtimeConfig,
MongoRestoreExecutable mongosExecutable) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution,
MongoRestoreConfig config,
de.flapdoodle.embed.process.extract.ExtractedFileSet files) |
void |
stopInternal() |
protected String |
successMessage() |
cleanupInternal, deleteTempFiles, onAfterProcessStart, sendStopToMongoInstancegetConfig, getEnvironment, getPidFromFile, getProcessId, isProcessRunning, isRegisteredJobKiller, onAfterProcessStop, onBeforeProcess, onBeforeProcessStart, pidFile, pidFile, sendKillToProcess, sendTermToProcess, setProcessId, stop, stopProcess, tryKillToProcess, waitFor, waitFor, writePidFilepublic MongoRestoreProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
MongoRestoreConfig config,
de.flapdoodle.embed.process.config.RuntimeConfig runtimeConfig,
MongoRestoreExecutable mongosExecutable)
throws IOException
IOExceptionprotected List<String> getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution, MongoRestoreConfig config, de.flapdoodle.embed.process.extract.ExtractedFileSet files) throws IOException
getCommandLine in class de.flapdoodle.embed.process.runtime.AbstractProcess<MongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>IOExceptionprotected String successMessage()
successMessage in class AbstractMongoProcess<MongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>public void stopInternal()
stopInternal in class AbstractMongoProcess<MongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>Copyright © 2022. All rights reserved.