public final class MongoDbAccessAdminFactory extends Object
Modifier and Type | Method and Description |
---|---|
static MongoDbAccessAdminImpl |
create(DbConfiguration configuration,
OntologyLoader ontologyLoader)
Creation of one MongoDbAccess
|
static MongoDbAccessAdminImpl |
create(DbConfiguration configuration,
String clusterName,
List<ElasticsearchNode> nodes,
OntologyLoader ontologyLoader)
Creation of one MongoDbAccess and initialize elasticsearch access
|
public static final MongoDbAccessAdminImpl create(DbConfiguration configuration, OntologyLoader ontologyLoader)
configuration
- config of MongoDbAcessontologyLoader
- IllegalArgumentException
- if argument is nullpublic static final MongoDbAccessAdminImpl create(DbConfiguration configuration, String clusterName, List<ElasticsearchNode> nodes, OntologyLoader ontologyLoader)
configuration
- config of MongoDbAcessclusterName
- the cluster namenodes
- the list of Elasticsearch nodesontologyLoader
- IllegalArgumentException
- if argument is nullCopyright © 2019 Vitam. All rights reserved.