public class PutChunkRequest extends BlobTransferRequest<PutChunkRequest> implements IPutChunkRequest
| Constructor and Description |
|---|
PutChunkRequest() |
PutChunkRequest(java.lang.String index,
byte[] digest,
java.util.UUID transferId,
org.elasticsearch.common.bytes.BytesArray content,
long currentPos,
boolean last) |
| Modifier and Type | Method and Description |
|---|---|
long |
currentPos() |
java.lang.String |
digest() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
content, isLast, transferIdcanHaveDuplicates, consistencyLevel, consistencyLevel, createTask, getDescription, index, index, indices, indicesOptions, setShardId, shardId, timeout, timeout, timeout, toString, validatecreateTask, setParentTaskremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontent, isLast, transferIdpublic PutChunkRequest()
public PutChunkRequest(java.lang.String index,
byte[] digest,
java.util.UUID transferId,
org.elasticsearch.common.bytes.BytesArray content,
long currentPos,
boolean last)
public java.lang.String digest()
public long currentPos()
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 BlobTransferRequest<PutChunkRequest>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 BlobTransferRequest<PutChunkRequest>java.io.IOException