public static final class SyncedFlushService.ShardSyncedFlushResponse extends TransportResponse
TransportResponse.Empty
headers
Constructor and Description |
---|
SyncedFlushService.ShardSyncedFlushResponse() |
SyncedFlushService.ShardSyncedFlushResponse(String failureReason) |
Modifier and Type | Method and Description |
---|---|
String |
failureReason() |
void |
readFrom(StreamInput in) |
static SyncedFlushService.ShardSyncedFlushResponse |
readSyncedFlushResponse(StreamInput in) |
boolean |
success() |
String |
toString() |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public SyncedFlushService.ShardSyncedFlushResponse()
public SyncedFlushService.ShardSyncedFlushResponse(String failureReason)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class TransportMessage<TransportResponse>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class TransportMessage<TransportResponse>
IOException
public boolean success()
public String failureReason()
public static SyncedFlushService.ShardSyncedFlushResponse readSyncedFlushResponse(StreamInput in) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.