Package org.nuxeo.elasticsearch.core
Class IncrementalIndexNameGenerator
- java.lang.Object
-
- org.nuxeo.elasticsearch.core.IncrementalIndexNameGenerator
-
- All Implemented Interfaces:
IndexNameGenerator
public class IncrementalIndexNameGenerator extends Object implements IndexNameGenerator
- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description IncrementalIndexNameGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNextIndexName(String aliasName, String oldIndexName)
Generates a new index Name from the alias name and the previous index name.
-
-
-
Field Detail
-
SEP
protected static final String SEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNextIndexName
public String getNextIndexName(String aliasName, String oldIndexName)
Description copied from interface:IndexNameGenerator
Generates a new index Name from the alias name and the previous index name.- Specified by:
getNextIndexName
in interfaceIndexNameGenerator
-
-