Search in sources :

Example 1 with ClusterNode

use of com.microsoft.azure.hdinsight.serverexplore.hdinsightnode.ClusterNode in project azure-tools-for-java by Microsoft.

the class HDInsightRootModuleImpl method refreshWithoutAsync.

@Override
public void refreshWithoutAsync() {
    synchronized (this) {
        removeAllChildNodes();
        clusterDetailList = ClusterManagerEx.getInstance().getClusterDetailsWithoutAsync(getProject());
        if (clusterDetailList != null) {
            for (IClusterDetail clusterDetail : clusterDetailList) {
                addChildNode(new ClusterNode(this, clusterDetail));
            }
        }
    }
}
Also used : ClusterNode(com.microsoft.azure.hdinsight.serverexplore.hdinsightnode.ClusterNode) IClusterDetail(com.microsoft.azure.hdinsight.sdk.cluster.IClusterDetail)

Aggregations

IClusterDetail (com.microsoft.azure.hdinsight.sdk.cluster.IClusterDetail)1 ClusterNode (com.microsoft.azure.hdinsight.serverexplore.hdinsightnode.ClusterNode)1