Class ProbeConnectionResult

java.lang.Object
org.elasticsearch.discovery.ProbeConnectionResult
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable

public class ProbeConnectionResult extends Object implements org.elasticsearch.core.Releasable
The result of a "probe" connection to a transport address, if it successfully discovered a valid node and established a full connection with it.
  • Constructor Details

    • ProbeConnectionResult

      public ProbeConnectionResult(DiscoveryNode discoveryNode, org.elasticsearch.core.Releasable releasable)
  • Method Details

    • getDiscoveryNode

      public DiscoveryNode getDiscoveryNode()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable
    • toString

      public String toString()
      Overrides:
      toString in class Object