Class SyncedFlushService.ShardSyncedFlushRequest

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportRequest
org.elasticsearch.indices.flush.SyncedFlushService.ShardSyncedFlushRequest
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, TaskAwareRequest
Enclosing class:
SyncedFlushService

public static final class SyncedFlushService.ShardSyncedFlushRequest
extends TransportRequest
  • Constructor Details

    • ShardSyncedFlushRequest

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

      public ShardSyncedFlushRequest​(ShardId shardId, java.lang.String syncId, Engine.CommitId expectedCommitId)
  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class TransportRequest
      Throws:
      java.io.IOException
    • shardId

      public ShardId shardId()
    • syncId

      public java.lang.String syncId()
    • expectedCommitId

      public Engine.CommitId expectedCommitId()
    • toString

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