Package com.ericsson.otp.stdlib

Examples of com.ericsson.otp.stdlib.OtpGenServer


            args[4]);
      NODE = args.length >= 3 ? new OtpNode(nodeName, args[2])
          : new OtpNode(nodeName);
      PEER = peerName;
      ALLOWED_THREADS = args.length >= 4 ? Integer.parseInt(args[3]) : 25;
      final OtpGenServer server = new LuceneServer(NODE, ALLOWED_THREADS);
      jlog.info("Java Lucene Node Started at: " + nodeName
          + "\nConnected to: " + PEER);
      server.start();
      System.out.println("READY");
    } catch (IOException e1) {
      jlog.severe("Couldn't create node: " + e1);
      e1.printStackTrace();
      System.exit(1);
View Full Code Here

TOP

Related Classes of com.ericsson.otp.stdlib.OtpGenServer

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.