Class MongoDbShard
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.configuration.MongoDbShard
-
public class MongoDbShard extends java.lang.Object
MongoDbNode class defining a mongo db node
-
-
Constructor Summary
Constructors Constructor Description MongoDbShard()
MongoDbShard(java.lang.String shardName, java.util.List<MongoDbNode> mongoDbNodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<MongoDbNode>
getMongoDbNodes()
java.lang.String
getShardName()
void
setMongoDbNodes(java.util.List<MongoDbNode> mongoDbNodes)
void
setShardName(java.lang.String shardName)
-
-
-
Constructor Detail
-
MongoDbShard
public MongoDbShard()
-
MongoDbShard
public MongoDbShard(java.lang.String shardName, java.util.List<MongoDbNode> mongoDbNodes)
-
-
Method Detail
-
getShardName
public java.lang.String getShardName()
-
setShardName
public void setShardName(java.lang.String shardName)
-
getMongoDbNodes
public java.util.List<MongoDbNode> getMongoDbNodes()
-
setMongoDbNodes
public void setMongoDbNodes(java.util.List<MongoDbNode> mongoDbNodes)
-
-