Class ClusterStateVerifier

    • Constructor Detail

      • ClusterStateVerifier

        public ClusterStateVerifier​(String zkAddress,
                                    String clusterName)
    • Method Detail

      • verifyClusterState

        public boolean verifyClusterState​(String tableName,
                                          long timeoutSec)
        Assemble and scan the candidate table names, return true if all the tables are stable.
        Parameters:
        tableName - optional table names which is provided by user and about to scan
        timeoutSec - maximum timeout in second
        Returns: