Class ClusterNameExpressionResolver
java.lang.Object
org.elasticsearch.cluster.metadata.ClusterNameExpressionResolver
Resolves cluster names from an expression. The expression must be the exact match of a cluster
name or must be a wildcard expression.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ClusterNameExpressionResolver
public ClusterNameExpressionResolver()
-
-
Method Details
-
resolveClusterNames
Resolves the provided cluster expression to matching cluster names. This method only supports exact or wildcard matches.- Parameters:
remoteClusters
- the aliases for remote clustersclusterExpression
- the expressions that can be resolved to cluster names.- Returns:
- the resolved cluster aliases.
-