Examples of NodeInfo


Examples of com.couchbase.client.core.config.NodeInfo

        }
        if (nodeId == -1) {
            return new Node[] { };
        }

        NodeInfo nodeInfo = config.partitionHosts().get(nodeId);
        for (Node node : nodes) {
            if (node.hostname().equals(nodeInfo.hostname())) {
                return new Node[] { node };
            }
        }

        throw new IllegalStateException("Node not found for request" + request);
View Full Code Here

Examples of com.google.gwt.dev.jjs.InternalCompilerException.NodeInfo

    } catch (InternalCompilerException e) {
      TreeLogger topBranch = logger.branch(TreeLogger.ERROR,
          "An internal compiler exception occurred", e);
      List nodeTrace = e.getNodeTrace();
      for (Iterator it = nodeTrace.iterator(); it.hasNext();) {
        NodeInfo nodeInfo = (NodeInfo) it.next();
        SourceInfo info = nodeInfo.getSourceInfo();
        String msg;
        if (info != null) {
          String fileName = info.getFileName();
          fileName = fileName.substring(fileName.lastIndexOf('/') + 1);
          fileName = fileName.substring(fileName.lastIndexOf('\\') + 1);
          msg = "at " + fileName + "(" + info.getStartLine() + "): ";
        } else {
          msg = "<no source info>: ";
        }

        String description = nodeInfo.getDescription();
        if (description != null) {
          msg += description;
        } else {
          msg += "<no description available>";
        }
        TreeLogger nodeBranch = topBranch.branch(TreeLogger.ERROR, msg, null);
        String className = nodeInfo.getClassName();
        if (className != null) {
          nodeBranch.log(TreeLogger.INFO, className, null);
        }
      }
      throw new UnableToCompleteException();
View Full Code Here

Examples of com.proofpoint.node.NodeInfo

    public void setup()
            throws Exception
    {
        Set<EventTypeMetadata<?>> eventTypes = getValidEventTypeMetaDataSet(
                FixedDummyEventClass.class, NestedDummyEventClass.class, CircularEventClass.class, ChainedCircularEventClass.class);
        eventWriter = new JsonEventWriter(new NodeInfo("test"), eventTypes);
    }
View Full Code Here

Examples of com.sun.enterprise.util.cluster.NodeInfo

                            instanceList.append(", ");
                        instanceList.append(server.getName());
                        i++;
                    }
                }
                NodeInfo ni = new NodeInfo( name,  host,  installDir,
                        nodeType,  instanceList.toString());
                infos.add(ni);
            }

        }
View Full Code Here

Examples of com.sun.sgs.management.NodeInfo

     * Returns the management information for this node.
     *
     * @return the management information for this node
     */
    NodeInfo getNodeInfo() {
        return new NodeInfo(getHostName(),
                            getId(),
                            isAlive(),
                            getBackupId(),
                            getJmxPort());
    }
View Full Code Here

Examples of com.vmware.bdd.software.mgmt.plugin.model.NodeInfo

      nodeGroupInfo.setStorageType(group.getStorageType().name());

      // set nodes
      List<NodeInfo> nodeInfos = new ArrayList<NodeInfo>();
      for (NodeEntity node : group.getNodes()) {
         NodeInfo nodeInfo = new NodeInfo();
         nodeInfo.setName(node.getVmName());
         nodeInfo.setHostname(node.getGuestHostName());
         nodeInfo.setIpConfigs(node.convertToIpConfigInfo());
         nodeInfo.setRack(node.getRack());
         nodeInfo.setVolumes(node.getDataVolumnsMountPoint());
         nodeInfos.add(nodeInfo);
      }

      nodeGroupInfo.setNodes(nodeInfos);
      return nodeGroupInfo;
View Full Code Here

Examples of ds.controller.helper.NodeInfo

  public void send(Socket clientSocket, String file) {
    LOGGER.debug("Forwarding file to client " + file);
   
    int loc = NodeSelecter.select_get(file);
   
    NodeInfo info = nodes.get(loc);
    FileServerInterface node = info.getNode();
    Socket sourceSocket = info.getSocket();
   
    // Request file transfer
    boolean response = false;
    try {
      response = node.getFile(file);
View Full Code Here

Examples of hivemall.mix.NodeInfo

        }
        this.numNodes = numEndpoints;
        NodeInfo[] nodes = new NodeInfo[numEndpoints];
        for(int i = 0; i < numEndpoints; i++) {
            InetSocketAddress addr = NetUtils.getInetSocketAddress(endpoints[i], MixServer.DEFAULT_PORT);
            nodes[i] = new NodeInfo(addr);
        }
        this.nodes = nodes;
    }
View Full Code Here

Examples of io.airlift.node.NodeInfo

        DualSplitManager dualSplitManager = new DualSplitManager(new InMemoryNodeManager());
        split = Iterables.getOnlyElement(dualSplitManager.getPartitionSplits(tableHandle, dualSplitManager.getPartitions(tableHandle, ImmutableMap.<ColumnHandle, Object>of())));

        planner = new LocalExecutionPlanner(
                new NodeInfo("test"),
                metadata,
                new DataStreamManager(new DualDataStreamProvider()),
                new MockLocalStorageManager(new File("target/temp")),
                new MockExchangeClientSupplier(),
                new ExpressionCompiler(metadata));

        taskExecutor = new TaskExecutor(8);
        taskExecutor.start();

        sqlTaskManager = new SqlTaskManager(
                planner,
                new MockLocationFactory(),
                taskExecutor,
                new QueryMonitor(new ObjectMapperProvider().get(), new NullEventClient(), new NodeInfo("test")),
                new TaskManagerConfig());

        tableScanNodeId = new PlanNodeId("tableScan");
        testFragment = new PlanFragment(new PlanFragmentId("fragment"),
                tableScanNodeId,
View Full Code Here

Examples of net.sf.joafip.meminspector.service.show.objectstree.JTableModelForFatherNode.NodeInfo

  @Override
  public Component getTableCellRendererComponent(final JTable table,
      final Object value, final boolean isSelected,
      final boolean hasFocus, final int row, final int column) {
    final NodeInfo nodeInfo = (NodeInfo) value;
    final NodeForObject nodeForObject = nodeInfo.getNodeForObject();
    setText(nodeForObject.identificationString());
    setForeground(nodeInfo.isMainFather() ? Color.RED : Color.BLACK);
    return this;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.