public class Mongod extends Object
| 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 List<String> |
enhanceCommandLinePlattformSpecific(de.flapdoodle.embed.process.distribution.Distribution distribution,
List<String> commands) |
static List<String> |
getCommandLine(MongodConfig config,
File mongodExecutable,
File dbDir) |
static int |
getMongodProcessId(String output,
int defaultValue) |
static boolean |
sendShutdown(InetAddress hostname,
int port) |
public 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(InetAddress hostname, int port)
public static int getMongodProcessId(String output, int defaultValue)
public static List<String> getCommandLine(MongodConfig config, File mongodExecutable, File dbDir) throws UnknownHostException
UnknownHostExceptionCopyright © 2013. All Rights Reserved.