Class ElasticsearchWaitForIndexingOperation
- java.lang.Object
-
- org.nuxeo.ecm.automation.elasticsearch.ElasticsearchWaitForIndexingOperation
-
public class ElasticsearchWaitForIndexingOperation extends Object
Wait for Elasticsearch indexing background job- Since:
- 8.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUDIT_ELASTICSEARCH_ENABLED
protected ElasticSearchAdmin
esa
static String
ID
protected Boolean
refresh
protected CoreSession
repo
protected Integer
timeout
protected Boolean
waitForAudit
protected Boolean
waitForBulkService
-
Constructor Summary
Constructors Constructor Description ElasticsearchWaitForIndexingOperation()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
AUDIT_ELASTICSEARCH_ENABLED
public static final String AUDIT_ELASTICSEARCH_ENABLED
- Since:
- 9.10
- See Also:
- Constant Field Values
-
esa
protected ElasticSearchAdmin esa
-
repo
protected CoreSession repo
-
timeout
protected Integer timeout
-
refresh
protected Boolean refresh
-
waitForAudit
protected Boolean waitForAudit
-
waitForBulkService
protected Boolean waitForBulkService
-
-
Method Detail
-
run
public Boolean run()
-
computeRemainingTime
protected long computeRemainingTime(long start)
-
-