Class ElasticsearchLogbookIndexManager
- java.lang.Object
-
- fr.gouv.vitam.logbook.common.server.config.ElasticsearchLogbookIndexManager
-
public class ElasticsearchLogbookIndexManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MAPPING_LOGBOOK_OPERATION_FILE
-
Constructor Summary
Constructors Constructor Description ElasticsearchLogbookIndexManager(LogbookConfiguration configuration, java.util.List<java.lang.Integer> tenantIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Integer>
getDedicatedTenants()
ElasticsearchIndexAliasResolver
getElasticsearchIndexAliasResolver(LogbookCollections collection)
ElasticsearchIndexSettings
getElasticsearchIndexSettings(LogbookCollections collection, int tenantId)
java.lang.String
getTenantGroup(int tenantId)
java.util.Collection<java.lang.String>
getTenantGroups()
java.util.List<java.lang.Integer>
getTenantGroupTenants(java.lang.String tenantGroupName)
boolean
isGroupedTenant(int tenantId)
-
-
-
Field Detail
-
MAPPING_LOGBOOK_OPERATION_FILE
public static final java.lang.String MAPPING_LOGBOOK_OPERATION_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ElasticsearchLogbookIndexManager
public ElasticsearchLogbookIndexManager(LogbookConfiguration configuration, java.util.List<java.lang.Integer> tenantIds)
-
-
Method Detail
-
getElasticsearchIndexAliasResolver
public ElasticsearchIndexAliasResolver getElasticsearchIndexAliasResolver(LogbookCollections collection)
-
getElasticsearchIndexSettings
public ElasticsearchIndexSettings getElasticsearchIndexSettings(LogbookCollections collection, int tenantId)
-
getDedicatedTenants
public java.util.List<java.lang.Integer> getDedicatedTenants()
-
getTenantGroups
public java.util.Collection<java.lang.String> getTenantGroups()
-
getTenantGroupTenants
public java.util.List<java.lang.Integer> getTenantGroupTenants(java.lang.String tenantGroupName)
-
isGroupedTenant
public boolean isGroupedTenant(int tenantId)
-
getTenantGroup
public java.lang.String getTenantGroup(int tenantId)
-
-