Class SyncedFlushService.ShardSyncedFlushResponse

  • All Implemented Interfaces:
    Writeable
    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 Detail

      • ShardSyncedFlushResponse

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

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

      • 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