Examples of DummyExecEnv


Examples of com.odiago.flumebase.exec.DummyExecEnv

      if (isConnected) {
        // Only display this message if we know for sure we were connected previously.
        LOG.info("Disconnected from execution environment.");
      }
      // Install a dummy environment until the user connects to a new one.
      mExecEnv = new DummyExecEnv();
    } catch (Exception e) {
      LOG.error("Error during disconnect: " + e);
    }
  }
View Full Code Here

Examples of com.odiago.flumebase.exec.DummyExecEnv

  /** Shut down the connected execution environment. */
  private void shutdown() {
    try {
      mExecEnv.shutdown();
      LOG.info("Execution environment shut down.");
      mExecEnv = new DummyExecEnv();
    } catch (Exception e) {
      LOG.error("Error during shutdown: " + e);
    }
  }
View Full Code Here

Examples of com.odiago.flumebase.exec.DummyExecEnv

    try {
      if ("local".equals(host)) {
        LOG.info("Connecting to local environment.");
        mExecEnv = new LocalEnvironment(mConf);
      } else if ("none".equals(host)) {
        mExecEnv = new DummyExecEnv();
      } else {
        int portIndex = host.indexOf(':');
        int port = mConf.getInt(ServerMain.THRIFT_SERVER_PORT_KEY,
            ServerMain.DEFAULT_THRIFT_SERVER_PORT);
        String hostname = host;
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.