Package models.data

Examples of models.data.AggregationNodeMetadata


      for (Entry<String, AggregationNodeMetadata> entry : nodeValueMap
          .entrySet()) {

        String fqdn = entry.getKey();
        AggregationNodeMetadata nodeMetadata = entry.getValue();

        StrStrMap strStrMap = new StrStrMap();
        if (nodeMetadata.isError()) {
          // not to fire requests for this node; sinc even the last
          // step does not have the value extracted. (e.g. fail to get
          // response back)
          // therefore; this step will not really to fire requests.
          strStrMap.getMap().put(VarUtils.NA, VarUtils.NA);
        } else {

          // for requests to a single server
          if (willReplaceTargetServer) {
            strStrMap
                .getMap()
                .put(VarUtils.VAR_NAME_APIVARREPLACE_SUPERMANSPECIAL_TARGET_NODE_VAR_WHEN_INSERT,
                    targetServerNew);
          }

          // get from the aggregation from last step and push it into
          // the nodemap
          String valueFromLastAggregationForThisFqdn = nodeMetadata
              .getValue();
          strStrMap.getMap().put(varName,
              valueFromLastAggregationForThisFqdn);
        }
        replacementVarMapNodeSpecific.put(fqdn, strStrMap);
View Full Code Here

TOP

Related Classes of models.data.AggregationNodeMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.