Class ElasticsearchAccessAdminFactory
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.common.server.ElasticsearchAccessAdminFactory
-
public final class ElasticsearchAccessAdminFactory extends java.lang.Object
Factory to get ElasticsearchAccess for Admin
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElasticsearchAccessFunctionalAdmin
create(AdminManagementConfiguration configuration, ElasticsearchFunctionalAdminIndexManager indexManager)
Creation of one ElasticsearchDbAcessstatic ElasticsearchAccessFunctionalAdmin
create(java.lang.String clusterName, java.util.List<ElasticsearchNode> nodes, ElasticsearchFunctionalAdminIndexManager indexManager)
Creation of one ElasticsearchDbAcess
-
-
-
Method Detail
-
create
public static final ElasticsearchAccessFunctionalAdmin create(AdminManagementConfiguration configuration, ElasticsearchFunctionalAdminIndexManager indexManager)
Creation of one ElasticsearchDbAcess- Parameters:
configuration
- config of ElasticsearchDbAcessindexManager
-- Returns:
- the ElasticsearchDbAcess
- Throws:
VitamException
- if elasticsearch list nodes is emptyjava.lang.IllegalArgumentException
- if argument is null
-
create
public static ElasticsearchAccessFunctionalAdmin create(java.lang.String clusterName, java.util.List<ElasticsearchNode> nodes, ElasticsearchFunctionalAdminIndexManager indexManager)
Creation of one ElasticsearchDbAcess- Parameters:
clusterName
- the cluster namenodes
- the node listindexManager
-- Returns:
- the ElasticsearchDbAcess
- Throws:
VitamException
- if elasticsearch list nodes is emptyjava.lang.IllegalArgumentException
- if argument is null
-
-