Package org.elasticsearch.discovery
Class HandshakingTransportAddressConnector
java.lang.Object
org.elasticsearch.discovery.HandshakingTransportAddressConnector
- All Implemented Interfaces:
TransportAddressConnector
public class HandshakingTransportAddressConnector
extends Object
implements TransportAddressConnector
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionHandshakingTransportAddressConnector
(Settings settings, TransportService transportService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
connectToRemoteMasterNode
(TransportAddress transportAddress, ActionListener<ProbeConnectionResult> 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<ProbeConnectionResult> listener) Description copied from interface: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 interfaceTransportAddressConnector
-