IndicesRequest, WriteRequest<BulkShardRequest>, Streamable, Writeable, TaskAwareRequestpublic class BulkShardRequest extends ReplicatedWriteRequest<BulkShardRequest>
IndicesRequest.ReplaceableTransportRequest.EmptyWriteable.Reader<V>, Writeable.Writer<V>WriteRequest.RefreshPolicyDEFAULT_TIMEOUT, index, shardId, timeout, waitForActiveShards| Constructor | Description |
|---|---|
BulkShardRequest() |
|
BulkShardRequest(ShardId shardId,
WriteRequest.RefreshPolicy refreshPolicy,
BulkItemRequest[] items) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDescription() |
Returns optional description of the request to be displayed by the task manager
|
java.lang.String[] |
indices() |
Returns the array of indices that the action relates to
|
BulkItemRequest[] |
items() |
|
void |
onRetry() |
This method is called before this replication request is retried
the first time.
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRefreshPolicy, setRefreshPolicycreateTask, index, index, indicesOptions, setShardId, shardId, timeout, timeout, timeout, validate, waitForActiveShards, waitForActiveShards, waitForActiveShardssetParentTaskremoteAddress, remoteAddressgetParentTask, setParentTasksetRefreshPolicy, validatepublic BulkShardRequest()
public BulkShardRequest(ShardId shardId, WriteRequest.RefreshPolicy refreshPolicy, BulkItemRequest[] items)
public BulkItemRequest[] items()
public java.lang.String[] indices()
IndicesRequestindices in interface IndicesRequestindices in class ReplicationRequest<BulkShardRequest>public void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface WriteablewriteTo in class ReplicatedWriteRequest<BulkShardRequest>java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface StreamablereadFrom in class ReplicatedWriteRequest<BulkShardRequest>java.io.IOExceptionpublic java.lang.String toString()
toString in class ReplicationRequest<BulkShardRequest>public java.lang.String getDescription()
TaskAwareRequestgetDescription in interface TaskAwareRequestgetDescription in class ReplicationRequest<BulkShardRequest>public void onRetry()
ReplicationRequestonRetry in class ReplicationRequest<BulkShardRequest>