Package com.odiago.flumebase.exec

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


  /** 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

    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

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

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.