public class MongosSystemForTestFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN_DATABASE_NAME |
static String |
LOCAL_DATABASE_NAME |
static String |
OPLOG_COLLECTION |
static String |
REPLICA_SET_NAME |
| Constructor and Description |
|---|
MongosSystemForTestFactory(MongosConfig config,
Map<String,List<MongodConfig>> replicaSets,
List<MongodConfig> configServers,
String shardDatabase,
String shardCollection,
String shardKey) |
public static final String ADMIN_DATABASE_NAME
public static final String LOCAL_DATABASE_NAME
public static final String REPLICA_SET_NAME
public static final String OPLOG_COLLECTION
public MongosSystemForTestFactory(MongosConfig config, Map<String,List<MongodConfig>> replicaSets, List<MongodConfig> configServers, String shardDatabase, String shardCollection, String shardKey)
public com.mongodb.Mongo getMongo()
throws UnknownHostException,
com.mongodb.MongoException
UnknownHostExceptioncom.mongodb.MongoExceptionpublic void stop()
Copyright © 2013. All Rights Reserved.