Package org.apache.helix

Examples of org.apache.helix.HelixDataAccessor.updateChildren()


    };
    List<DataUpdater<ZNRecord>> updaters = Lists.newArrayList();
    updaters.add(updater);
    List<String> paths = Lists.newArrayList();
    paths.add(accessor.keyBuilder().resourceConfig(jobResource).getPath());
    accessor.updateChildren(paths, updaters, AccessOption.PERSISTENT);
    invokeRebalance();
  }

  public void list(String resource) {
    WorkflowConfig wCfg = TaskUtil.getWorkflowCfg(_manager, resource);
View Full Code Here


    };
    List<DataUpdater<ZNRecord>> updaters = Lists.newArrayList();
    updaters.add(updater);
    List<String> paths = Lists.newArrayList();
    paths.add(accessor.keyBuilder().resourceConfig(jobResource).getPath());
    accessor.updateChildren(paths, updaters, AccessOption.PERSISTENT);
    invokeRebalance();
  }

  public void list(String resource) {
    WorkflowConfig wCfg = TaskUtil.getWorkflowCfg(_manager, resource);
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.