Class ShardedManagedMongoDb
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.lordofthejars.nosqlunit.mongodb.shard.ShardedManagedMongoDb
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ShardedManagedMongoDb extends org.junit.rules.ExternalResource
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedShardedManagedMongoDb(ShardedGroup shardedGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafter()protected voidbefore()voidshutdownServer(int port)voidstartupServer(int port)
-
-
-
Constructor Detail
-
ShardedManagedMongoDb
protected ShardedManagedMongoDb(ShardedGroup shardedGroup)
-
-
Method Detail
-
shutdownServer
public void shutdownServer(int port)
-
startupServer
public void startupServer(int port) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
before
protected void before() throws java.lang.Throwable- Overrides:
beforein classorg.junit.rules.ExternalResource- Throws:
java.lang.Throwable
-
after
protected void after()
- Overrides:
afterin classorg.junit.rules.ExternalResource
-
-