Package org.elasticsearch.indices.flush
Class SyncedFlushService.ShardSyncedFlushResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.indices.flush.SyncedFlushService.ShardSyncedFlushResponse
- All Implemented Interfaces:
Writeable
,org.elasticsearch.core.RefCounted
- Enclosing class:
- SyncedFlushService
Response for third step of synced flush (writing the sync id) for one shard copy
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.transport.TransportResponse
TransportResponse.Empty
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
success()
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, incRef, remoteAddress, remoteAddress, tryIncRef
-
Constructor Details
-
ShardSyncedFlushResponse
- Throws:
IOException
-
ShardSyncedFlushResponse
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Throws:
IOException
-
success
public boolean success() -
failureReason
-
toString
-
readSyncedFlushResponse
public static SyncedFlushService.ShardSyncedFlushResponse readSyncedFlushResponse(StreamInput in) throws IOException- Throws:
IOException
-