Package org.elasticsearch.index.reindex
Class BulkByScrollTask.StatusBuilder
java.lang.Object
org.elasticsearch.index.reindex.BulkByScrollTask.StatusBuilder
- Enclosing class:
- BulkByScrollTask
This class acts as a builder for
BulkByScrollTask.Status
. Once the BulkByScrollTask.Status
object is built by calling
buildStatus()
it is immutable. Used by an instance of ObjectParser
when parsing from
XContent.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToSliceStatuses(BulkByScrollTask.StatusOrException statusOrException)
void
setBatches(Integer batches)
void
setBulkRetries(Long bulkRetries)
void
setCreated(Long created)
void
setDeleted(Long deleted)
void
void
setReasonCancelled(String reasonCancelled)
void
setRequestsPerSecond(Float requestsPerSecond)
void
setRetries(org.elasticsearch.core.Tuple<Long,Long> retries)
void
setSearchRetries(Long searchRetries)
void
setSliceId(Integer sliceId)
void
setSliceStatuses(List<BulkByScrollTask.StatusOrException> sliceStatuses)
void
setThrottled(Long throttled)
void
setThrottledUntil(Long throttledUntil)
void
void
setUpdated(Long updated)
void
setVersionConflicts(Long versionConflicts)
-
Constructor Details
-
StatusBuilder
public StatusBuilder()
-
-
Method Details
-
setSliceId
-
setTotal
-
setUpdated
-
setCreated
-
setDeleted
-
setBatches
-
setVersionConflicts
-
setNoops
-
setRetries
-
setBulkRetries
-
setSearchRetries
-
setThrottled
-
setRequestsPerSecond
-
setReasonCancelled
-
setThrottledUntil
-
setSliceStatuses
-
addToSliceStatuses
-
buildStatus
-