Streamable
, Writeable
BulkShardResponse
, DocWriteResponse
, ResyncReplicationResponse
public class ReplicationResponse extends ActionResponse
Modifier and Type | Class | Description |
---|---|---|
static class |
ReplicationResponse.ShardInfo |
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field | Description |
---|---|---|
static ReplicationResponse.ShardInfo.Failure[] |
EMPTY |
Constructor | Description |
---|---|
ReplicationResponse() |
Modifier and Type | Method | Description |
---|---|---|
ReplicationResponse.ShardInfo |
getShardInfo() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
setShardInfo(ReplicationResponse.ShardInfo shardInfo) |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remoteAddress, remoteAddress
public static final ReplicationResponse.ShardInfo.Failure[] EMPTY
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ActionResponse
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class ActionResponse
java.io.IOException
public ReplicationResponse.ShardInfo getShardInfo()
public void setShardInfo(ReplicationResponse.ShardInfo shardInfo)