public abstract class BlobTransferRequest<T extends org.elasticsearch.action.support.replication.ReplicationRequest<T>> extends org.elasticsearch.action.support.replication.ReplicationRequest<T> implements IPutChunkRequest
Constructor and Description |
---|
BlobTransferRequest() |
BlobTransferRequest(java.lang.String index,
java.util.UUID transferId,
org.elasticsearch.common.bytes.BytesArray content,
boolean last) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.common.bytes.BytesReference |
content() |
boolean |
isLast() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
java.util.UUID |
transferId() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
canHaveDuplicates, consistencyLevel, consistencyLevel, createTask, getDescription, index, index, indices, indicesOptions, setShardId, shardId, timeout, timeout, timeout, toString, validate
createTask, setParentTask
remoteAddress, remoteAddress
public BlobTransferRequest()
public BlobTransferRequest(java.lang.String index, java.util.UUID transferId, org.elasticsearch.common.bytes.BytesArray content, boolean last)
public org.elasticsearch.common.bytes.BytesReference content()
content
in interface IPutChunkRequest
public boolean isLast()
isLast
in interface IPutChunkRequest
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws java.io.IOException
public java.util.UUID transferId()
transferId
in interface IPutChunkRequest