Class LogbookElasticsearchAccessFactory
- java.lang.Object
-
- fr.gouv.vitam.logbook.common.server.database.collections.LogbookElasticsearchAccessFactory
-
public class LogbookElasticsearchAccessFactory extends java.lang.Object
ElasticsearchAccess Factory
-
-
Constructor Summary
Constructors Constructor Description LogbookElasticsearchAccessFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogbookElasticsearchAccess
create(LogbookConfiguration configuration, ElasticsearchLogbookIndexManager indexManager)
Creation of one ElasticsearchAccess
-
-
-
Method Detail
-
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 LogbookElasticsearchAccessjava.lang.IllegalArgumentException
- if argument is null
-
-