Module org.elasticsearch.server
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 SummaryFieldsModifier and TypeFieldDescription
- 
Constructor SummaryConstructorsConstructorDescriptionHandshakingTransportAddressConnector(Settings settings, TransportService transportService) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnectToRemoteMasterNode(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- 
connectToRemoteMasterNodepublic void connectToRemoteMasterNode(TransportAddress transportAddress, ActionListener<ProbeConnectionResult> listener) Description copied from interface:TransportAddressConnectorIdentify 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:
- connectToRemoteMasterNodein interface- TransportAddressConnector
 
 
-