java.lang.Object
org.elasticsearch.transport.RemoteConnectionStrategy
org.elasticsearch.transport.SniffConnectionStrategy
- All Implemented Interfaces:
Closeable,AutoCloseable,TransportConnectionListener
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.elasticsearch.transport.RemoteConnectionStrategy
clusterAlias, connectionManager, logger, transportService -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconnectImpl(ActionListener<Void> listener) protected RemoteConnectionInfo.ModeInfoprotected booleanprotected booleanprotected org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategyMethods inherited from class org.elasticsearch.transport.RemoteConnectionStrategy
close, isClosed, isRetryableException, onNodeDisconnectedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.transport.TransportConnectionListener
onConnectionClosed, onConnectionOpened, onNodeConnected
-
Method Details
-
shouldOpenMoreConnections
protected boolean shouldOpenMoreConnections()- Specified by:
shouldOpenMoreConnectionsin classRemoteConnectionStrategy
-
strategyMustBeRebuilt
- Specified by:
strategyMustBeRebuiltin classRemoteConnectionStrategy
-
strategyType
protected org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategy strategyType()- Specified by:
strategyTypein classRemoteConnectionStrategy
-
connectImpl
- Specified by:
connectImplin classRemoteConnectionStrategy
-
getModeInfo
- Specified by:
getModeInfoin classRemoteConnectionStrategy
-