Class ReindexJob.ReindexJobBuilder
java.lang.Object
com.broadleafcommerce.search.index.core.domain.ReindexJob.ReindexJobBuilder
- Enclosing class:
- ReindexJob
-
Method Summary
Modifier and TypeMethodDescriptionThe user that initiated this reindex process.build()
The completion time of the processerrors
(List<ReindexErrorDetails> errors) A list of errors that may have occurred during the reindex process.expectedCount
(Long expectedCount) The expected number of items to be processed (May be an estimate, such as with Products)finishedLoadingQueueTime
(Instant finishedLoadingQueueTime) The time taken to load the queue for this job.finishedProcessingQueueTime
(Instant finishedProcessingQueueTime) The instant in time this queue was finished processing.indexableType
(String indexableType) The IndexableType of this job (e.g.lastUpdated
(Instant lastUpdated) The last update time of the processThe display name which will identify this job to admin users.The number of nodes involved in the reindex process.processedCount
(Long processedCount) The number of items processed during the full reindex.The start time of the processstatus
(ReindexStatus status) The current status of the reindex process.threadCount
(Integer threadCount) The total number of threads used across all nodes.toString()
-
Method Details
-
id
- Returns:
this
.
-
indexableType
The IndexableType of this job (e.g. Customer, Product, etc)- Returns:
this
.
-
name
The display name which will identify this job to admin users.- Returns:
this
.
-
author
The user that initiated this reindex process.- Returns:
this
.
-
startTime
The start time of the process- Returns:
this
.
-
endTime
The completion time of the process- Returns:
this
.
-
lastUpdated
The last update time of the process- Returns:
this
.
-
finishedLoadingQueueTime
The time taken to load the queue for this job. This is not set until the queue is completely loaded.- Returns:
this
.
-
finishedProcessingQueueTime
public ReindexJob.ReindexJobBuilder finishedProcessingQueueTime(Instant finishedProcessingQueueTime) The instant in time this queue was finished processing. This is not set until all items in the queue have been processed.- Returns:
this
.
-
expectedCount
The expected number of items to be processed (May be an estimate, such as with Products)- Returns:
this
.
-
processedCount
The number of items processed during the full reindex. In the case of a completed process, this is the total number of items processed during the reindex. For in progress reindexing, this is regularly updated.- Returns:
this
.
-
nodeCount
The number of nodes involved in the reindex process. If this is not a distributed reindex, this will always be 1.- Returns:
this
.
-
threadCount
The total number of threads used across all nodes.- Returns:
this
.
-
status
The current status of the reindex process.- Returns:
this
.- See Also:
-
errors
A list of errors that may have occurred during the reindex process. This will be null if no errors have occurred.- Returns:
this
.
-
build
-
toString
-