public static class BulkByScrollTask.Status extends Object implements Task.Status
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static BulkByScrollTask.Status |
PROTOTYPE |
EMPTY_PARAMS| Constructor and Description |
|---|
BulkByScrollTask.Status(long total,
long updated,
long created,
long deleted,
int batches,
long versionConflicts,
long noops,
long retries,
TimeValue throttled,
float requestsPerSecond,
String reasonCancelled,
TimeValue throttledUntil) |
BulkByScrollTask.Status(StreamInput in) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatches()
Number of scan responses this request has processed.
|
long |
getCreated()
Count of documents created.
|
long |
getDeleted()
Count of successful delete operations.
|
long |
getNoops()
Number of noops (skipped bulk items) as part of this request.
|
String |
getReasonCancelled()
The reason that the request was canceled or null if it hasn't been.
|
float |
getRequestsPerSecond()
The number of requests per second to which to throttle the request.
|
long |
getRetries()
Number of retries that had to be attempted due to rejected executions.
|
TimeValue |
getThrottled()
The total time this request has throttled itself not including the current throttle time if it is currently sleeping.
|
TimeValue |
getThrottledUntil()
Remaining delay of any current throttle sleep or 0 if not sleeping.
|
long |
getTotal()
The total number of documents this request will process.
|
long |
getUpdated()
Count of documents updated.
|
long |
getVersionConflicts()
Number of version conflicts this request has hit.
|
String |
getWriteableName() |
void |
innerToString(StringBuilder builder,
boolean includeCreated,
boolean includeDeleted) |
XContentBuilder |
innerXContent(XContentBuilder builder,
ToXContent.Params params,
boolean includeCreated,
boolean includeDeleted) |
BulkByScrollTask.Status |
readFrom(StreamInput in) |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public static final BulkByScrollTask.Status PROTOTYPE
public static final String NAME
public BulkByScrollTask.Status(long total,
long updated,
long created,
long deleted,
int batches,
long versionConflicts,
long noops,
long retries,
TimeValue throttled,
float requestsPerSecond,
@Nullable
String reasonCancelled,
TimeValue throttledUntil)
public BulkByScrollTask.Status(StreamInput in) throws IOException
IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface Writeable<Task.Status>IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic XContentBuilder innerXContent(XContentBuilder builder, ToXContent.Params params, boolean includeCreated, boolean includeDeleted) throws IOException
IOExceptionpublic void innerToString(StringBuilder builder, boolean includeCreated, boolean includeDeleted)
public String getWriteableName()
getWriteableName in interface NamedWriteable<Task.Status>public BulkByScrollTask.Status readFrom(StreamInput in) throws IOException
readFrom in interface StreamableReader<Task.Status>IOExceptionpublic long getTotal()
public long getUpdated()
public long getCreated()
public long getDeleted()
public int getBatches()
public long getVersionConflicts()
public long getNoops()
public long getRetries()
public TimeValue getThrottled()
public float getRequestsPerSecond()
public String getReasonCancelled()
public TimeValue getThrottledUntil()
Copyright © 2009–2017. All rights reserved.