Examples of NodeManager


Examples of com.google.dart.engine.internal.index.file.NodeManager

    StringCodec stringCodec = new StringCodec();
    ContextCodec contextCodec = new ContextCodec();
    ElementCodec elementCodec = new ElementCodec(stringCodec);
    RelationshipCodec relationshipCodec = new RelationshipCodec(stringCodec);
    FileManager fileManager = new SeparateFileManager(directory);
    NodeManager nodeManager = new FileNodeManager(
        fileManager,
        AnalysisEngine.getInstance().getLogger(),
        stringCodec,
        contextCodec,
        elementCodec,
View Full Code Here

Examples of lupos.datastructures.patriciatrie.disk.nodemanager.NodeManager

   *            The size of a page to be stored on disk
   * @throws IOException
   */
  public DBTrieSet(final String fileName, final int bufferSize, final int pageSize) throws IOException {
    super();
    this.nodeManager = new NodeManager(this, fileName, bufferSize, pageSize);
   
    if (this.nodeManager.isEmpty(1)) {
      this.setRootNode(null);
    }
    else {
View Full Code Here

Examples of lupos.datastructures.patriciatrie.disk.nodemanager.NodeManager

   * @param mode the mode of this trie
   * @throws IOException
   */
  public DBTrieBag(final String fileName, final int bufferSize, final int pageSize) throws IOException {
    super();
    this.nodeManager = new NodeManager(this, fileName, bufferSize, pageSize);
   
    if (this.nodeManager.isEmpty(1)) {
      this.setRootNode(null);
    }
    else {
View Full Code Here

Examples of net.sf.mrailsim.rails.NodeManager

  MapReader mapReader = null;
 

  public Game() {
    trackManager = new TrackManager();
    nodeManager = new NodeManager();
    trainManager = new TrainManager();
  }
View Full Code Here

Examples of org.apache.axis2.clustering.management.NodeManager

        }
        return clusterManager;
    }

    private NodeManager getNodeManager() throws AxisFault {
        NodeManager nodeManager;
        ClusteringAgent clusteringAgent = getClusteringAgent();
        nodeManager = clusteringAgent.getNodeManager();
        if (nodeManager == null) {
            handleException("Cluster NodeManager not enabled in axis2.xml file");
        }
View Full Code Here

Examples of org.apache.axis2.clustering.management.NodeManager

        if (clusteringAgent != null) {
            StateManager stateManaget = clusteringAgent.getStateManager();
            if (stateManaget != null) {
                stateManaget.setConfigurationContext(this);
            }
            NodeManager nodeManager = clusteringAgent.getNodeManager();
            if (nodeManager != null) {
                nodeManager.setConfigurationContext(this);
            }
            if (shouldClusterBeInitiated(clusteringAgent)) {
                clusteringAgent.setConfigurationContext(this);
                clusteringAgent.init();
            }
View Full Code Here

Examples of org.apache.axis2.clustering.management.NodeManager

        if (clusteringAgent != null) {
            StateManager stateManaget = clusteringAgent.getStateManager();
            if (stateManaget != null) {
                stateManaget.setConfigurationContext(this);
            }
            NodeManager nodeManager = clusteringAgent.getNodeManager();
            if (nodeManager != null) {
                nodeManager.setConfigurationContext(this);
            }
            if (shouldClusterBeInitiated(clusteringAgent)) {
                clusteringAgent.setConfigurationContext(this);
                clusteringAgent.init();
            }
View Full Code Here

Examples of org.apache.axis2.clustering.management.NodeManager

            } catch (ClassNotFoundException e) {
                throw new DeploymentException(Messages.getMessage("clusterImplNotFound",
                                                                  className));
            }

            NodeManager nodeManager = (NodeManager) clazz.newInstance();
            clusteringAgent.setNodeManager(nodeManager);

            //updating the NodeManager with the new ConfigurationContext
            nodeManager.setConfigurationContext(configCtx);

            //loading the parameters.
            processParameters(configManagerEle.getChildrenWithName(new QName(TAG_PARAMETER)),
                              nodeManager,
                              null);
View Full Code Here

Examples of org.apache.axis2.clustering.management.NodeManager

        StateManager stateManager = new DefaultStateManager();
        return stateManager;
    }

    protected NodeManager getConfigurationManager() throws AxisFault {
        NodeManager contextManager = new DefaultNodeManager();
        return contextManager;
    }
View Full Code Here

Examples of org.apache.hadoop.yarn.server.nodemanager.NodeManager

    if (yarnCluster == null) {
      yarnCluster = new MiniYARNCluster(
        TestDistributedShell.class.getSimpleName(), 1, 1, 1);
      yarnCluster.init(conf);
      yarnCluster.start();
      NodeManager  nm = yarnCluster.getNodeManager(0);
      waitForNMToRegister(nm);
     
      URL url = Thread.currentThread().getContextClassLoader().getResource("yarn-site.xml");
      if (url == null) {
        throw new RuntimeException("Could not find 'yarn-site.xml' dummy file in classpath");
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.