- All Known Implementing Classes:
LinkedProjectConfig.ProxyLinkedProjectConfig,LinkedProjectConfig.SniffLinkedProjectConfig
public sealed interface LinkedProjectConfig
permits LinkedProjectConfig.ProxyLinkedProjectConfig, LinkedProjectConfig.SniffLinkedProjectConfig
Configuration for initializing RemoteClusterConnections to linked projects.
The LinkedProjectConfig.ProxyLinkedProjectConfigBuilder and LinkedProjectConfig.SniffLinkedProjectConfigBuilder classes can be used to build concrete
implementations of LinkedProjectConfig.
The RemoteClusterSettings.toConfig(String, Settings) and
RemoteClusterSettings.toConfig(ProjectId, ProjectId, String, Settings) methods
can be used to read RemoteClusterSettings to build a concrete LinkedProjectConfig from Settings.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic final recordConfiguration for initializingRemoteClusterConnections to linked projects using theProxyConnectionStrategy.static classstatic final recordConfiguration for initializingRemoteClusterConnections to linked projects using theSniffConnectionStrategy.static class -
Method Summary
Modifier and TypeMethodDescriptionbuildRemoteConnectionStrategy(TransportService transportService, RemoteConnectionManager connectionManager) org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategybooleanintintboolean
-
Method Details
-
originProjectId
ProjectId originProjectId() -
linkedProjectId
ProjectId linkedProjectId() -
linkedProjectAlias
String linkedProjectAlias() -
transportConnectTimeout
TimeValue transportConnectTimeout() -
connectionCompression
Compression.Enabled connectionCompression() -
connectionCompressionScheme
Compression.Scheme connectionCompressionScheme() -
clusterPingSchedule
TimeValue clusterPingSchedule() -
initialConnectionTimeout
TimeValue initialConnectionTimeout() -
maxPendingConnectionListeners
int maxPendingConnectionListeners() -
connectionStrategy
org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategy connectionStrategy() -
maxNumConnections
int maxNumConnections() -
proxyAddress
String proxyAddress() -
isConnectionEnabled
boolean isConnectionEnabled() -
buildRemoteConnectionStrategy
RemoteConnectionStrategy buildRemoteConnectionStrategy(TransportService transportService, RemoteConnectionManager connectionManager)
-