Class UpdatePitContextResponse

java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.core.transport.TransportResponse
org.opensearch.action.search.UpdatePitContextResponse
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable

public class UpdatePitContextResponse extends org.opensearch.core.transport.TransportResponse
Update PIT context response with creation time, keep alive etc.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opensearch.core.transport.TransportResponse

    org.opensearch.core.transport.TransportResponse.Empty

    Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable

    org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
  • Constructor Summary

    Constructors
    Constructor
    Description
    UpdatePitContextResponse(String pitId, long creationTime, long keepAlive)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     
     
    void
    writeTo(org.opensearch.core.common.io.stream.StreamOutput out)
     

    Methods inherited from class org.opensearch.core.transport.TransportMessage

    remoteAddress, remoteAddress

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UpdatePitContextResponse

      public UpdatePitContextResponse(String pitId, long creationTime, long keepAlive)
  • Method Details

    • writeTo

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Throws:
      IOException
    • getPitId

      public String getPitId()
    • getKeepAlive

      public long getKeepAlive()
    • getCreationTime

      public long getCreationTime()