Package org.elasticsearch.discovery
Class HandshakingTransportAddressConnector
java.lang.Object
org.elasticsearch.discovery.HandshakingTransportAddressConnector
- All Implemented Interfaces:
PeerFinder.TransportAddressConnector
public class HandshakingTransportAddressConnector
extends Object
implements PeerFinder.TransportAddressConnector
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHandshakingTransportAddressConnector(Settings settings, TransportService transportService)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectToRemoteMasterNode(TransportAddress transportAddress, ActionListener<DiscoveryNode> listener)
Identify the node at the given address and, if it is a master node and not the local node then establish a full connection to it.
-
Field Details
-
PROBE_CONNECT_TIMEOUT_SETTING
-
PROBE_HANDSHAKE_TIMEOUT_SETTING
-
-
Constructor Details
-
HandshakingTransportAddressConnector
-
-
Method Details
-
connectToRemoteMasterNode
public void connectToRemoteMasterNode(TransportAddress transportAddress, ActionListener<DiscoveryNode> listener)Description copied from interface:PeerFinder.TransportAddressConnector
Identify the node at the given address and, if it is a master node and not the local node then establish a full connection to it.- Specified by:
connectToRemoteMasterNode
in interfacePeerFinder.TransportAddressConnector
-