de.flapdoodle.embedmongo.runtime
Class Mongod
java.lang.Object
de.flapdoodle.embedmongo.runtime.Mongod
public class Mongod
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOCKET_TIMEOUT
public static final int SOCKET_TIMEOUT
- See Also:
- Constant Field Values
CONNECT_TIMEOUT
public static final int CONNECT_TIMEOUT
- See Also:
- Constant Field Values
BYTE_BUFFER_LENGTH
public static final int BYTE_BUFFER_LENGTH
- See Also:
- Constant Field Values
WAITING_TIME_SHUTDOWN_IN_MS
public static final int WAITING_TIME_SHUTDOWN_IN_MS
- See Also:
- Constant Field Values
Mongod
public Mongod()
sendShutdown
public static boolean sendShutdown(InetAddress hostname,
int port)
getMongodProcessId
public static int getMongodProcessId(String output,
int defaultValue)
getCommandLine
public static List<String> getCommandLine(MongodConfig config,
File mongodExecutable,
File dbDir)
throws UnknownHostException
- Throws:
UnknownHostException
enhanceCommandLinePlattformSpecific
public static List<String> enhanceCommandLinePlattformSpecific(Distribution distribution,
List<String> commands)
Copyright © 2012. All Rights Reserved.