Class TransportGetFromTranslogAction.Response

All Implemented Interfaces:
Writeable, RefCounted
Enclosing class:
TransportGetFromTranslogAction

public static class TransportGetFromTranslogAction.Response extends ActionResponse
  • Constructor Details

  • Method Details

    • writeTo

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

      @Nullable public GetResult getResult()
    • segmentGeneration

      public long segmentGeneration()
      The segment generation that the search shard should wait for before handling the real-time GET request locally. -1 if the result is not null (i.e., the result is served from the indexing shard), or there hasn't simply been any switches from unsafe to safe map in the LiveVersionMap (see InternalEngine.getVersionFromMap(BytesRef)).
    • primaryTerm

      public long primaryTerm()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object