Interface LinkedProjectConfig

All Known Implementing Classes:
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.

  • 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()
    • skipUnavailable

      boolean skipUnavailable()
    • 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)