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.common.util.concurrent.RefCounted
Enclosing class:
SyncedFlushService

public static final class SyncedFlushService.ShardSyncedFlushResponse
extends TransportResponse
Response for third step of synced flush (writing the sync id) for one shard copy
  • Constructor Details

    • ShardSyncedFlushResponse

      public ShardSyncedFlushResponse​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • ShardSyncedFlushResponse

      public ShardSyncedFlushResponse​(java.lang.String failureReason)
  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Throws:
      java.io.IOException
    • success

      public boolean success()
    • failureReason

      public java.lang.String failureReason()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • readSyncedFlushResponse

      public static SyncedFlushService.ShardSyncedFlushResponse readSyncedFlushResponse​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException