protected void refreshItems()

in Utils/azure-toolkit-ide-hdinsight-libs/azure-explorer-common/src/com/microsoft/tooling/msservices/serviceexplorer/azure/AzureModule.java [121:151]


    protected void refreshItems() throws AzureCmdException {
        // add the module; we check if the node has
        // already been added first because this method can be called
        // multiple times when the user clicks the "Refresh" context
        // menu item
        if (vmArmServiceModule != null && !isDirectChild(vmArmServiceModule)) {
            addChildNode(vmArmServiceModule);
        }
//        if (redisCacheModule != null && !isDirectChild(redisCacheModule)) {
//            addChildNode(redisCacheModule);
//        }
        if (storageModule != null && !isDirectChild(storageModule)) {
            addChildNode(storageModule);
        }
        if (hdInsightModule != null && !isDirectChild(hdInsightModule)) {
            addChildNode(hdInsightModule);
        }
        if (containerRegistryModule != null && !isDirectChild(containerRegistryModule)) {
            addChildNode(containerRegistryModule);
        }

        if (sparkServerlessClusterRootModule != null &&
                sparkServerlessClusterRootModule.isFeatureEnabled() &&
                !isDirectChild(sparkServerlessClusterRootModule)) {
            addChildNode(sparkServerlessClusterRootModule);
        }

        if (arcadiaModule != null && arcadiaModule.isFeatureEnabled() && !isDirectChild(arcadiaModule)) {
            addChildNode(arcadiaModule);
        }
    }