WriteResponse
, Streamable
, Writeable
public final class ResyncReplicationResponse extends ReplicationResponse implements WriteResponse
ReplicationResponse.ShardInfo
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY
Constructor | Description |
---|---|
ResyncReplicationResponse() |
Modifier and Type | Method | Description |
---|---|---|
void |
setForcedRefresh(boolean forcedRefresh) |
Mark the response as having forced a refresh? Requests that set
WriteRequest.setRefreshPolicy(RefreshPolicy) to
WriteRequest.RefreshPolicy.IMMEDIATE should always mark this as true. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getShardInfo, readFrom, setShardInfo, writeTo
remoteAddress, remoteAddress
public void setForcedRefresh(boolean forcedRefresh)
WriteResponse
WriteRequest.setRefreshPolicy(RefreshPolicy)
to
WriteRequest.RefreshPolicy.IMMEDIATE
should always mark this as true. Requests that set it to WriteRequest.RefreshPolicy.WAIT_UNTIL
will only
set this to true if they run out of refresh listener slots (see IndexSettings.MAX_REFRESH_LISTENERS_PER_SHARD
).setForcedRefresh
in interface WriteResponse