Class ClusterNameExpressionResolver


  • public final class ClusterNameExpressionResolver
    extends java.lang.Object
    Resolves cluster names from an expression. The expression must be the exact match of a cluster name or must be a wildcard expression.
    • Method Summary

      Modifier and Type Method Description
      java.util.List<java.lang.String> resolveClusterNames​(java.util.Set<java.lang.String> remoteClusters, java.lang.String clusterExpression)
      Resolves the provided cluster expression to matching cluster names.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClusterNameExpressionResolver

        public ClusterNameExpressionResolver()
    • Method Detail

      • resolveClusterNames

        public java.util.List<java.lang.String> resolveClusterNames​(java.util.Set<java.lang.String> remoteClusters,
                                                                    java.lang.String clusterExpression)
        Resolves the provided cluster expression to matching cluster names. This method only supports exact or wildcard matches.
        Parameters:
        remoteClusters - the aliases for remote clusters
        clusterExpression - the expressions that can be resolved to cluster names.
        Returns:
        the resolved cluster aliases.