Class LogbookElasticsearchAccessFactory
java.lang.Object
fr.gouv.vitam.logbook.common.server.database.collections.LogbookElasticsearchAccessFactory
ElasticsearchAccess Factory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(LogbookConfiguration configuration, ElasticsearchLogbookIndexManager indexManager) Creation of one ElasticsearchAccess
-
Constructor Details
-
LogbookElasticsearchAccessFactory
public LogbookElasticsearchAccessFactory()
-
-
Method Details
-
create
public LogbookElasticsearchAccess create(LogbookConfiguration configuration, ElasticsearchLogbookIndexManager indexManager) throws LogbookException Creation of one ElasticsearchAccess- Parameters:
configuration
- config of elasticsearchindexManager
-- Returns:
- the ElasticsearchAccess
- Throws:
LogbookException
- if error in create LogbookElasticsearchAccessIllegalArgumentException
- if argument is null
-