public List getChildrenKeys()

in mode/cluster/repository/consul/src/main/java/org/apache/shardingsphere/mode/repository/cluster/consul/ConsulRepository.java [89:96]


    public List<String> getChildrenKeys(final String key) {
        Response<List<String>> response = consulClient.getKVKeysOnly(key);
        if (null == response) {
            return Collections.emptyList();
        }
        List<String> value = response.getValue();
        return null == value ? Collections.emptyList() : value;
    }