Streamable
, Writeable
public static final class SyncedFlushService.ShardSyncedFlushResponse extends TransportResponse
TransportResponse.Empty
Writeable.Reader<V>, Writeable.Writer<V>
Constructor | Description |
---|---|
ShardSyncedFlushResponse() |
|
ShardSyncedFlushResponse(java.lang.String failureReason) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
failureReason() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
static SyncedFlushService.ShardSyncedFlushResponse |
readSyncedFlushResponse(StreamInput in) |
|
boolean |
success() |
|
java.lang.String |
toString() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
remoteAddress, remoteAddress
public ShardSyncedFlushResponse()
public ShardSyncedFlushResponse(java.lang.String failureReason)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class TransportMessage
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class TransportMessage
java.io.IOException
public boolean success()
public java.lang.String failureReason()
public java.lang.String toString()
toString
in class java.lang.Object
public static SyncedFlushService.ShardSyncedFlushResponse readSyncedFlushResponse(StreamInput in) throws java.io.IOException
java.io.IOException