public class Mongod extends AbstractMongo
| Modifier and Type | Field and Description |
|---|---|
static int |
BYTE_BUFFER_LENGTH |
static int |
CONNECT_TIMEOUT |
static int |
SOCKET_TIMEOUT |
static int |
WAITING_TIME_SHUTDOWN_IN_MS |
| Constructor and Description |
|---|
Mongod() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
enhanceCommandLinePlattformSpecific(de.flapdoodle.embed.process.distribution.Distribution distribution,
java.util.List<java.lang.String> commands) |
static java.util.List<java.lang.String> |
getCommandLine(IMongodConfig config,
de.flapdoodle.embed.process.extract.IExtractedFileSet files,
java.io.File dbDir) |
static int |
getMongodProcessId(java.lang.String output,
int defaultValue) |
static boolean |
sendShutdown(java.net.InetAddress hostname,
int port) |
applyDefaultOptions, applyNetpublic static final int SOCKET_TIMEOUT
public static final int CONNECT_TIMEOUT
public static final int BYTE_BUFFER_LENGTH
public static final int WAITING_TIME_SHUTDOWN_IN_MS
public static boolean sendShutdown(java.net.InetAddress hostname,
int port)
public static int getMongodProcessId(java.lang.String output,
int defaultValue)
public static java.util.List<java.lang.String> getCommandLine(IMongodConfig config, de.flapdoodle.embed.process.extract.IExtractedFileSet files, java.io.File dbDir) throws java.net.UnknownHostException
java.net.UnknownHostExceptionpublic static java.util.List<java.lang.String> enhanceCommandLinePlattformSpecific(de.flapdoodle.embed.process.distribution.Distribution distribution,
java.util.List<java.lang.String> commands)
Copyright © 2018. All Rights Reserved.