Examples of merge()


Examples of com.linkedin.helix.messaging.handling.GroupMessageHandler.GroupMessageInfo.merge()

        GroupMessageInfo info = _executor._groupMsgHandler.onCompleteSubMessage(_message);
        if (info != null)
        {
          // TODO: changed to async update
          // group update current state
          Map<PropertyKey, CurrentState> curStateMap = info.merge();
          for (PropertyKey key : curStateMap.keySet())
          {
            accessor.updateProperty(key, curStateMap.get(key));
          }
View Full Code Here

Examples of com.mountainminds.eclemma.core.ICoverageSession.merge()

    MergeSessionsDialog d = new MergeSessionsDialog(window.getShell(), sessions, descr);
    if (d.open() == IDialogConstants.OK_ID) {
      Object[] result = d.getResult();
      ICoverageSession merged = (ICoverageSession) result[0];
      for (int i = 1; i < result.length; i++) {
        merged = merged.merge((ICoverageSession) result[i], d.getDescription());
      }
      sm.addSession(merged, true, null);
      for (int i = 0; i < result.length; i++) {
        sm.removeSession((ICoverageSession) result[i]);
      }
View Full Code Here

Examples of com.nexse.techpjmgmt.domain.Developer.merge()

    AjaxResponse<Project> create(@RequestBody() Project project, @RequestParam(value = "iddev", required = true) Long idOwner) {
        final AjaxResponse<Project> response = new AjaxResponse<Project>();
        try {
            Developer developer = Developer.findDeveloper(idOwner);
            developer.getProjects().add(project);
            developer.merge();
            response.add(project);
        } catch (Exception e) {
            e.printStackTrace();
            response.setSuccess("false");
        }
View Full Code Here

Examples of com.opera.core.systems.preferences.OperaFilePreferences.merge()

   * @param newPreferences the new preferences to populate the profile with
   */
  public void setPreferences(OperaPreferences newPreferences) {
    if (!(newPreferences instanceof OperaFilePreferences)) {
      OperaFilePreferences convertedPreferences = new OperaFilePreferences(preferenceFile);
      convertedPreferences.merge(newPreferences);
      preferences = convertedPreferences;
    } else {
      preferences = newPreferences;
    }
  }
View Full Code Here

Examples of com.orientechnologies.orient.core.record.impl.ODocument.merge()

        // GET THE CONFIG OF THE NEW SERVER
        clusterConfig = (ODocument) fieldValue;
      else {
        // MERGE CLUSTER CONFIG
        if (fieldValue instanceof ODocument)
          clusterConfig.merge((ODocument) cfgDoc.field(fieldName), true, true);
        else
          clusterConfig.merge((Map<String, Object>) cfgDoc.field(fieldName), true, true);
      }
    }
View Full Code Here

Examples of com.persistit.Accumulator.Delta.merge()

            final long value) {
        // Check current deltas, no lock as status is single txn/thread
        Delta delta = status.getDelta();
        while (delta != null) {
            if (delta.canMerge(accumulator, step)) {
                delta.merge(value);
                return;
            }
            delta = delta.getNext();
        }
        // No compatible existing delta, create a new one
View Full Code Here

Examples of com.peusoft.ptcollect.server.persistance.dao.GenericDao.merge()

        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("saving objects... ");
        }
        for (AbstractDomainObject object : objects) {
            GenericDao dao = daoFactory.getDao(object.getClass());
            dao.merge(object);
            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("save object " + object);
            }
        }
    }
View Full Code Here

Examples of com.sishuok.es.common.web.bind.annotation.SearchableDefaults.merge()

        boolean hasCustomSearchFilter = searcheableMap.size() > 0;

        SearchableDefaults searchDefaults = getSearchableDefaults(parameter);

        boolean needMergeDefault = searchDefaults != null && searchDefaults.merge();

        Searchable searchable = null;
        //自定义覆盖默认
        if (needMergeDefault || !hasCustomSearchFilter) {
            searchable = getDefaultFromAnnotation(searchDefaults);
View Full Code Here

Examples of com.sun.dtv.lwuit.plaf.Style.merge()

        popupContent.setX(getAbsoluteX());
        popupContent.setY(y);
        popupContent.setWidth(getWidth());
        popupContent.setFixedPosition(true);
        Style s = popupContent.getStyle();
        s.merge(getStyle());
        s.setBgTransparency(0xFF);
        s.setBorder(null);
        s.setMargin(0, 0, 0, 0);
        s.setPadding(0, 0, 0, 0);
        return popup;
View Full Code Here

Examples of com.sun.enterprise.management.support.CoverageInfo.merge()

         
          final String j2eeType   = amx.getJ2EEType();
          final CoverageInfo  existing    = coverageMap.get( j2eeType );
          if ( existing != null )
          {
              existing.merge( coverageInfo );
          }
          else
          {
              coverageMap.put( j2eeType, coverageInfo );
          }
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.