Examples of controllerLeaderHistory()


Examples of com.linkedin.helix.PropertyKey.Builder.controllerLeaderHistory()

  private void updateHistory(HelixManager manager)
  {
    HelixDataAccessor accessor = manager.getHelixDataAccessor();
    Builder keyBuilder = accessor.keyBuilder();

    LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
    if (history == null)
    {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
View Full Code Here

Examples of com.linkedin.helix.PropertyKey.Builder.controllerLeaderHistory()

    if (history == null)
    {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
    accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
  }
}
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

    private void updateHistory(HelixManager manager) {
  HelixDataAccessor accessor = manager.getHelixDataAccessor();
  Builder keyBuilder = accessor.keyBuilder();

  LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
  if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
  }
  history.updateHistory(manager.getClusterName(), manager.getInstanceName());
  accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

  LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
  if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
  }
  history.updateHistory(manager.getClusterName(), manager.getInstanceName());
  accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
    }
}
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

  private void updateHistory(HelixManager manager) {
    HelixDataAccessor accessor = manager.getHelixDataAccessor();
    Builder keyBuilder = accessor.keyBuilder();

    LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
    if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
    accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

    LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
    if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
    accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
  }
}
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

  private void updateHistory(HelixManager manager) {
    HelixDataAccessor accessor = manager.getHelixDataAccessor();
    Builder keyBuilder = accessor.keyBuilder();

    LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
    if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
    accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

    LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
    if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
    accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
  }
}
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

  private void updateHistory(HelixManager manager) {
    HelixDataAccessor accessor = manager.getHelixDataAccessor();
    Builder keyBuilder = accessor.keyBuilder();

    LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
    if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
    accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
View Full Code Here

Examples of org.apache.helix.PropertyKey.Builder.controllerLeaderHistory()

    LeaderHistory history = accessor.getProperty(keyBuilder.controllerLeaderHistory());
    if (history == null) {
      history = new LeaderHistory(PropertyType.HISTORY.toString());
    }
    history.updateHistory(manager.getClusterName(), manager.getInstanceName());
    accessor.setProperty(keyBuilder.controllerLeaderHistory(), history);
  }
}
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.