de.flapdoodle.embedmongo.runtime
Class Mongod

java.lang.Object
  extended by de.flapdoodle.embedmongo.runtime.Mongod

public class Mongod
extends Object


Constructor Summary
Mongod()
           
 
Method Summary
static List<String> enhanceCommandLinePlattformSpecific(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mongod

public Mongod()
Method Detail

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)

enhanceCommandLinePlattformSpecific

public static List<String> enhanceCommandLinePlattformSpecific(Distribution distribution,
                                                               List<String> commands)


Copyright © 2012. All Rights Reserved.