Customer Portal

Error on Get Record Count

Comments 2

  • Avatar
    frisullo
    0
    Comment actions Permalink
    I modified the code in the following way and it's all ok:

    result = runGraph.executeGraph(graph, runtimeContext);
    Result resultR;
    resultR = result.get();
    Map<String, Node> mapNodes = graph.getNodes();
    Node node;
    node = mapNodes.get("testNode");
    int numRec = node.getInputPort(0).getInputRecordCounter();
  • Avatar
    mzatopek
    0
    Comment actions Permalink
    Probably the most convenient way how to get these type information is to use our JMX interface or for local purpose just call

    graph.getWatchdog().getCloverJMX().getGraphTracking()...

    CloverJMX is a JMX mbean which easily provides all the tracking information about running graph.

    If you decide to use direct the JMX interface, let me know to provide more information about that.

    Martin Zatopek

Please sign in to leave a comment.