Package com.odiago.flumebase.exec

Examples of com.odiago.flumebase.exec.FlowInfo


    try {
      long idNum = Long.valueOf(flowIdStr);
      FlowId flowId = new FlowId(idNum);

      Map<FlowId, FlowInfo> infoMap = mExecEnv.listFlows();
      FlowInfo info = infoMap.get(flowId);
      if (null == info) {
        System.out.println("No such flow: " + flowIdStr);
      } else if (null != info.streamName) {
        System.out.println(info.streamName);
      } else {
View Full Code Here


      assert outMap != null;
      synchronized (outMap) {
        for (Map.Entry<FlowId, ActiveFlowData> entry : mActiveFlows.entrySet()) {
          FlowId id = entry.getKey();
          ActiveFlowData activeData = entry.getValue();
          outMap.put(id, new FlowInfo(id, activeData.getFlow().getQuery(),
              activeData.getStreamName()));
        }

        // Notify the calling thread when we're done.
        outMap.notify();
View Full Code Here

TOP

Related Classes of com.odiago.flumebase.exec.FlowInfo

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.