public class PutChunkReplicaRequest extends org.elasticsearch.action.support.replication.ReplicationRequest<PutChunkReplicaRequest> implements IPutChunkRequest
| Modifier and Type | Field and Description |
|---|---|
org.elasticsearch.common.bytes.BytesReference |
content |
long |
currentPos |
boolean |
isLast |
java.lang.String |
sourceNodeId |
java.util.UUID |
transferId |
| Constructor and Description |
|---|
PutChunkReplicaRequest() |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.common.bytes.BytesReference |
content() |
boolean |
isLast() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
java.lang.String |
toString() |
java.util.UUID |
transferId() |
org.elasticsearch.action.ActionRequestValidationException |
validate() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
createTask, getDescription, index, index, indices, indicesOptions, onRetry, setShardId, shardId, timeout, timeout, timeout, waitForActiveShards, waitForActiveShards, waitForActiveShardsgetParentTask, setParentTaskremoteAddress, remoteAddresspublic java.lang.String sourceNodeId
public java.util.UUID transferId
public long currentPos
public org.elasticsearch.common.bytes.BytesReference content
public boolean isLast
public org.elasticsearch.action.ActionRequestValidationException validate()
validate in class org.elasticsearch.action.support.replication.ReplicationRequest<PutChunkReplicaRequest>public void readFrom(org.elasticsearch.common.io.stream.StreamInput in)
throws java.io.IOException
readFrom in interface org.elasticsearch.common.io.stream.StreamablereadFrom in class org.elasticsearch.action.support.replication.ReplicationRequest<PutChunkReplicaRequest>java.io.IOExceptionpublic void writeTo(org.elasticsearch.common.io.stream.StreamOutput out)
throws java.io.IOException
writeTo in interface org.elasticsearch.common.io.stream.StreamablewriteTo in class org.elasticsearch.action.support.replication.ReplicationRequest<PutChunkReplicaRequest>java.io.IOExceptionpublic org.elasticsearch.common.bytes.BytesReference content()
content in interface IPutChunkRequestpublic java.util.UUID transferId()
transferId in interface IPutChunkRequestpublic boolean isLast()
isLast in interface IPutChunkRequestpublic java.lang.String toString()
toString in class org.elasticsearch.action.support.replication.ReplicationRequest<PutChunkReplicaRequest>