public final class RemoteClusterService extends AbstractComponent implements java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
static Setting<java.lang.Boolean> |
ENABLE_REMOTE_CLUSTERS
If
true connecting to remote clusters is supported on this node. |
static Setting.AffixSetting<java.util.List<java.net.InetSocketAddress>> |
REMOTE_CLUSTERS_SEEDS
A list of initial seed nodes to discover eligible nodes from the remote cluster
|
static Setting<java.lang.Integer> |
REMOTE_CONNECTIONS_PER_CLUSTER
The maximum number of connections that will be established to a remote cluster.
|
static Setting<TimeValue> |
REMOTE_INITIAL_CONNECTION_TIMEOUT_SETTING
The initial connect timeout for remote cluster connections
|
static Setting<java.lang.String> |
REMOTE_NODE_ATTRIBUTE
The name of a node attribute to select nodes that should be connected to in the remote cluster.
|
deprecationLogger, logger, settings| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
getRemoteConnectionInfos(ActionListener<java.util.Collection<RemoteConnectionInfo>> listener) |
logDeprecatedSetting, logRemovedSetting, nodeNamepublic static final Setting.AffixSetting<java.util.List<java.net.InetSocketAddress>> REMOTE_CLUSTERS_SEEDS
public static final Setting<java.lang.Integer> REMOTE_CONNECTIONS_PER_CLUSTER
public static final Setting<TimeValue> REMOTE_INITIAL_CONNECTION_TIMEOUT_SETTING
public static final Setting<java.lang.String> REMOTE_NODE_ATTRIBUTE
public static final Setting<java.lang.Boolean> ENABLE_REMOTE_CLUSTERS
true connecting to remote clusters is supported on this node. If false this node will not establish
connections to any remote clusters configured. Search requests executed against this node (where this node is the coordinating node)
will fail if remote cluster syntax is used as an index pattern. The default is truepublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic void getRemoteConnectionInfos(ActionListener<java.util.Collection<RemoteConnectionInfo>> listener)