Class ClusterAllocationExplainResponse

java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.admin.cluster.allocation.ClusterAllocationExplainResponse
All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted

public class ClusterAllocationExplainResponse
extends ActionResponse
Explanation response for a shard in the cluster
  • Constructor Details

    • ClusterAllocationExplainResponse

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

      public ClusterAllocationExplainResponse​(ClusterAllocationExplanation cae)
  • Method Details

    • getExplanation

      public ClusterAllocationExplanation getExplanation()
      Return the explanation for shard allocation in the cluster
    • writeTo

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