Class PublishWithJoinResponse

org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.cluster.coordination.PublishWithJoinResponse
All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted

public class PublishWithJoinResponse extends TransportResponse
Response to a PublishRequest. Encapsulates both a PublishResponse and an optional Join.
  • Constructor Details

    • PublishWithJoinResponse

      public PublishWithJoinResponse(PublishResponse publishResponse, <Join> optionalJoin)
    • PublishWithJoinResponse

      public PublishWithJoinResponse(StreamInput in) throws
      Throws:
  • Method Details

    • writeTo

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

      public PublishResponse getPublishResponse()
    • getJoin

      public <Join> getJoin()
    • equals

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

      public int hashCode()
      Overrides:
       in class 
    • toString

      public  toString()
      Overrides:
       in class