Examples of DBParam


Examples of com.linkedin.helix.manager.file.StaticFileHelixManager.DBParam

    final String controllerName = "controller_0";

    ClusterView view;
    String[] illegalNodesInfo = {"localhost_8900", "localhost_8901"};
    List<DBParam> dbParams = new ArrayList<DBParam>();
    dbParams.add(new DBParam("TestDB0", 10));
    dbParams.add(new DBParam("TestDB1", 10));

    boolean exceptionCaught = false;
    try
    {
      view = StaticFileHelixManager.generateStaticConfigClusterView(illegalNodesInfo, dbParams, 3);
View Full Code Here

Examples of net.java.ao.DBParam

    return versionStatistic;
  }

  private VersionStatistic create(String projectKey, String version, StatisticRef statisticRef, UserWrapper userWrapper)
  {
    VersionStatistic versionStatistic = ao.create(getClazz(), new DBParam("KEY", KeyableUtils.buildKey(projectKey, version, statisticRef, userWrapper)));
    versionStatistic.setProjectKey(projectKey);
    versionStatistic.setVersion(version);
    versionStatistic.setStatisticRef(statisticRef);
    versionStatistic.setUserWrapper(userWrapper);
    versionStatistic.save();
View Full Code Here

Examples of net.java.ao.DBParam

    return userStatistic;
  }

  private UserStatistic create(StatisticRef statisticRef, UserWrapper userWrapper)
  {
    UserStatistic userStatistic = ao.create(UserStatistic.class, new DBParam("KEY", KeyableUtils.buildKey(statisticRef, userWrapper)));
    userStatistic.setStatisticRef(statisticRef);
    userStatistic.setUserWrapper(userWrapper);
    userStatistic.save();

    return userStatistic;
View Full Code Here

Examples of net.java.ao.DBParam

    return projectStatistic;
  }

  private ProjectStatistic create(String projectKey, StatisticRef statisticRef, UserWrapper userWrapper)
  {
    ProjectStatistic projectStatistic = ao.create(getClazz(), new DBParam("KEY", KeyableUtils.buildKey(projectKey, statisticRef, userWrapper)));
    projectStatistic.setProjectKey(projectKey);
    projectStatistic.setStatisticRef(statisticRef);
    projectStatistic.setUserWrapper(userWrapper);
    projectStatistic.save();
View Full Code Here

Examples of net.java.ao.DBParam

    return componentStatistic;
  }

  private ComponentStatistic create(String projectKey, String component, StatisticRef statisticRef, UserWrapper userWrapper)
  {
    ComponentStatistic componentStatistic = ao.create(getClazz(), new DBParam("KEY", KeyableUtils.buildKey(projectKey, component, statisticRef, userWrapper)));
    componentStatistic.setProjectKey(projectKey);
    componentStatistic.setComponent(component);
    componentStatistic.setStatisticRef(statisticRef);
    componentStatistic.setUserWrapper(userWrapper);
    componentStatistic.save();
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.