java.lang.Object
org.elasticsearch.transport.RemoteClusterSettings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimeValuestatic final intstatic final booleanstatic final Setting.AffixSetting<Compression.Enabled> static final Setting.AffixSetting<Compression.Scheme> static final Setting.AffixSetting<SecureString> static final Setting.AffixSetting<TimeValue> static final Setting.AffixSetting<Boolean> static final Setting.AffixSetting<org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategy> The initial connect timeout for remote cluster connectionsThe name of a node attribute to select nodes that should be connected to in the remote cluster. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRemoteClusters(Settings settings) static booleanisConnectionEnabled(String clusterAlias, Settings settings) static LinkedProjectConfigtoConfig(ProjectId originProjectId, ProjectId linkedProjectId, String linkedProjectAlias, Settings settings) Reads all settings values to create a fully populatedLinkedProjectConfiginstance for the given originProjectIdand linkedProjectId.
-
Field Details
-
DEFAULT_INITIAL_CONNECTION_TIMEOUT
-
REMOTE_INITIAL_CONNECTION_TIMEOUT_SETTING
The initial connect timeout for remote cluster connections -
REMOTE_NODE_ATTRIBUTE
The name of a node attribute to select nodes that should be connected to in the remote cluster. For instance a node can be configured withnode.attr.gateway: truein order to be eligible as a gateway node between clusters. In that casecluster.remote.node.attr: gatewaycan be used to filter out other nodes in the remote cluster. The value of the setting is expected to be a boolean,truefor nodes that can become gateways,falseotherwise. -
DEFAULT_SKIP_UNAVAILABLE
public static final boolean DEFAULT_SKIP_UNAVAILABLE- See Also:
-
REMOTE_CLUSTER_SKIP_UNAVAILABLE
-
REMOTE_CLUSTER_PING_SCHEDULE
-
REMOTE_CLUSTER_COMPRESS
-
REMOTE_CLUSTER_COMPRESSION_SCHEME
-
REMOTE_CLUSTER_CREDENTIALS
-
REMOTE_CONNECTION_MODE
public static final Setting.AffixSetting<org.elasticsearch.transport.RemoteConnectionStrategy.ConnectionStrategy> REMOTE_CONNECTION_MODE -
DEFAULT_MAX_PENDING_CONNECTION_LISTENERS
public static final int DEFAULT_MAX_PENDING_CONNECTION_LISTENERS- See Also:
-
REMOTE_MAX_PENDING_CONNECTION_LISTENERS
-
-
Constructor Details
-
RemoteClusterSettings
public RemoteClusterSettings()
-
-
Method Details
-
getRemoteClusters
-
toConfig
public static LinkedProjectConfig toConfig(ProjectId originProjectId, ProjectId linkedProjectId, String linkedProjectAlias, Settings settings) Reads all settings values to create a fully populatedLinkedProjectConfiginstance for the given originProjectIdand linkedProjectId. -
isConnectionEnabled
-