Examples of update()


Examples of org.nasutekds.server.replication.common.ServerState.update()

    // Check Load
    // serverState.loadState() ;
    // TODO Check result;

    // Check update
    assertFalse(serverState.update((ChangeNumber)null));
    assertTrue(serverState.update(cn));
    assertFalse(serverState.update(cn));
    ChangeNumber cn1, cn2, cn3;
    cn1 = new ChangeNumber(cn.getTime()+1,cn.getSeqnum(),cn.getServerId());
    cn2 = new ChangeNumber(cn1.getTime(),cn1.getSeqnum()+1,cn1.getServerId());
View Full Code Here

Examples of org.netbeans.modules.php.composer.api.Composer.update()

        // version >= 1.6
        if (version.getMajor() >= 1 && version.getMinor() >= 6) {
            try {
                Composer composer = Composer.getDefault();
                composer.update(phpModule);
            } catch (InvalidPhpExecutableException ex) {
                NotifyDescriptor.Message message = new NotifyDescriptor.Message(Bundle.FuelPhpModuleExtender_not_found_composer(), NotifyDescriptor.WARNING_MESSAGE);
                DialogDisplayer.getDefault().notify(message);
                LOGGER.log(Level.WARNING, Bundle.FuelPhpModuleExtender_not_found_composer());
            }
View Full Code Here

Examples of org.newdawn.slick.Animation.update()

  protected void updateAnimation(int delta) {
    if (animations != null) {
      if (currentAnim != null) {
        Animation anim = animations.get(currentAnim);
        if (anim != null) {
          anim.update(delta);
        }
      }
    }
  }
View Full Code Here

Examples of org.ngrinder.perftest.service.monitor.MonitorClientService.update()

    client.init();
    Map<String, SystemDataModel> rtnMap = new HashMap<String, SystemDataModel>();

    Random random = new Random();
    for (int i = 0; i < 80; i++) {
      client.update();
      SystemInfo info = client.getSystemInfo();
      if (info == null) {
        return;
      }
      info.setCustomValues(random.nextInt() + "," + random.nextInt());
View Full Code Here

Examples of org.nxplanner.domain.repository.ObjectRepository.update()

        DomainObject object;
        String action = form.getAction();
        if (action.equals(UPDATE_ACTION)) {
            object = (DomainObject)objectRepository.load(Integer.parseInt(oid));
            populateObject(request, object, form);
            objectRepository.update(object);
        } else if (action.equals(CREATE_ACTION)) {
            object = createObject(objectClass, request, form, objectRepository);
        } else {
            throw new ServletException("Unknown editor action: " + action);
        }
View Full Code Here

Examples of org.olat.core.util.cache.n.CacheWrapper.update()

      getWindowControl().setInfo("sending "+cnt+" messages took "+inmilis+" ms, avg per messages was "+avg+" ns = "+avgmilis+" ms");
    } else if (source == testCachePut) {
      CacheWrapper cw = CoordinatorManager.getCoordinator().getCacher().getOrCreateCache(this.getClass(), "cachetest").
        getOrCreateChildCacheWrapper(ORES_CACHE_TEST);
      // we explicitly use put and not putSilent to show that a put invalidates (and thus removes) this key of this cache in all other cluster nodes.
      cw.update("akey", "hello");
      updateCacheInfo();
    } else if (source == testCachePut2) {
      // we explicitly use put and not putSilent to show that a put invalidates (and thus removes) this key of this cache in all other cluster nodes.
      CacheWrapper cw = CoordinatorManager.getCoordinator().getCacher().getOrCreateCache(this.getClass(), "cachetest").
        getOrCreateChildCacheWrapper(ORES_CACHE_TEST);
View Full Code Here

Examples of org.opencustomer.db.dao.calendar.EventDAO.update()

                        event2.setRecurrenceUntilDate(event.getRecurrenceUntilDate());
                                              
                        if(log.isDebugEnabled())
                            log.debug("event updated: " + event2);
                       
                        eventdao.update(event2);
                        insertList.add(event2);
                    }
                    else
                    {
                        if(log.isDebugEnabled())
View Full Code Here

Examples of org.opencustomer.db.dao.system.ConfigurationDAO.update()

                } else {
                    if(configuration.getValue() != null) {
                        if (log.isDebugEnabled())
                            log.debug("save configuration (ID:" + configuration.getId() + ")");
                       
                        dao.update(configuration, user);
                    } else {
                        if (log.isDebugEnabled())
                            log.debug("delete configuration (ID:" + configuration.getId() + ")");
                       
                        dao.delete(configuration);
View Full Code Here

Examples of org.opencustomer.db.dao.system.ListConfigurationDAO.update()

                    log.debug("create list configuration");
                dao.insert(listConfiguration);
            } else {
                if (log.isDebugEnabled())
                    log.debug("save list configuration (ID:" + listConfiguration.getId() + ")");
                dao.update(listConfiguration);
            }
           
            HibernateContext.commitTransaction();
           
            PanelStack stack = Panel.getPanelStack(request);
View Full Code Here

Examples of org.opencustomer.db.dao.system.RoleDAO.update()

            }
            else
            {
                if (log.isDebugEnabled())
                    log.debug("save role (ID:" + role.getId() + ")");
                dao.update(role, user);
            }
        }
        catch (HibernateException e)
        {
            log.error("could not save role", e);
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.