Package com.flaptor.clusterfest.controlling.node

Examples of com.flaptor.clusterfest.controlling.node.ControllableImplementation


        }

        if (config.getBoolean("clustering.enable")) {
          int port = PortUtil.getPort("clustering.rpc.indexer");
        nodeListener = new NodeListener(port, config);
            ControllerModule.addModuleListener(nodeListener, new ControllableImplementation());
        indexerMonitoredNode = IndexerMonitoredNode.getInstance();
        MonitorModule.addModuleListener(nodeListener, IndexerMonitoredNode.getInstance());
        nodeListener.start();
        }
View Full Code Here


      if (config.getBoolean("clustering.enable")) {
          int port = PortUtil.getPort("clustering.rpc.crawler");
        nodeListener = new NodeListener(port, config);
        MonitorModule.addModuleListener(nodeListener, new CrawlerMonitoredNode(this));
        ControllerModule.addModuleListener(nodeListener, new ControllableImplementation());
        nodeListener.addModuleListener("crawlerControl", new CrawlerControllableImplementation());
            DeployModule.addModuleListener(nodeListener, new DeployListenerImplementation());
        nodeListener.start();
        }
    }
View Full Code Here

          if (config.getBoolean("clustering.enable")) {
              int port = PortUtil.getPort("clustering.rpc.cacheServer");
            nodeListener = new NodeListener(port, config);
            MonitorModule.addModuleListener(nodeListener, new CacheServerMonitoredNode(this));
            ControllerModule.addModuleListener(nodeListener, new ControllableImplementation());
                DeployModule.addModuleListener(nodeListener, new DeployListenerImplementation());
            nodeListener.start();
            }

          List<Pair<String, Integer>> caches = new ArrayList<Pair<String, Integer>>();
View Full Code Here

        Config config = Config.getConfig("indexer.properties");
        if (config.getBoolean("clustering.enable")) {
          int port = PortUtil.getPort("clustering.rpc.indexer");
        nodeListener = new NodeListener(port, config);
            ControllerModule.addModuleListener(nodeListener, new ControllableImplementation());
        indexerMonitoredNode = IndexerMonitoredNode.getInstance();
        MonitorModule.addModuleListener(nodeListener, IndexerMonitoredNode.getInstance());
        ActionModule.addModuleListener(nodeListener, new IndexerActionReceiver(this));
        DeployModule.addModuleListener(nodeListener, new DeployListenerImplementation());
        nodeListener.start();
View Full Code Here

          } else {
              searcherConfig.set("clustering.node.type", "searcher");
          }
          nodeListener = new NodeListener(port, searcherConfig);
        MonitorModule.addModuleListener(nodeListener, new SearcherMonitoredNode(this));
        ControllerModule.addModuleListener(nodeListener, new ControllableImplementation());
            DeployModule.addModuleListener(nodeListener, new DeployListenerImplementation());
        nodeListener.start();
        }

      if (searcherConfig.getBoolean("searcher.isMultiSearcher")) {
View Full Code Here

TOP

Related Classes of com.flaptor.clusterfest.controlling.node.ControllableImplementation

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.