Class EmbeddedMongo
- java.lang.Object
-
- ch.exense.commons.core.model.utils.EmbeddedMongo
-
public class EmbeddedMongo extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classEmbeddedMongo.FileStreamProcessor
-
Field Summary
Fields Modifier and Type Field Description static EmbeddedMongoINSTANCE
-
Constructor Summary
Constructors Constructor Description EmbeddedMongo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmbeddedMongogetInstance()voidstart(String dbpath, String bind, int port)voidstop()
-
-
-
Field Detail
-
INSTANCE
public static EmbeddedMongo INSTANCE
-
-
Method Detail
-
getInstance
public static EmbeddedMongo getInstance()
-
start
public void start(String dbpath, String bind, int port) throws UnknownHostException, IOException
- Throws:
UnknownHostExceptionIOException
-
stop
public void stop()
-
-