Examples of update()


Examples of com.eviware.soapui.impl.support.definition.DefinitionCache.update()

          monitor.setProgress( 1, "Caching Definition from url [" + url + "]" );

          currentLoader = getDefinitionLoader();
          currentLoader.setProgressMonitor( monitor, 2 );

          cache.update( currentLoader );

          if( currentLoader.isAborted() )
            throw new Exception( "Loading of Definition from [" + url + "] was aborted" );
        }
View Full Code Here

Examples of com.eviware.soapui.model.propertyexpansion.MutablePropertyExpansion.update()

      for( MutablePropertyExpansion mpe : properties )
      {
        try
        {
          mpe.update();
          result.add( mpe );
        }
        catch( Exception e )
        {
          e.printStackTrace();
View Full Code Here

Examples of com.exigen.ie.constrainer.Observer.update()

    {
      Observer observer = (Observer)observers.elementAt(i);
      if (observer.interestedIn(interest))
      {
//        Debug.on(); Debug.print("Observer "+i+": "+observer);Debug.off();
        observer.update(this,interest);
      }
    }
    interest.free();
  }
View Full Code Here

Examples of com.facebook.presto.TaskSource.update()

                TaskSource currentSource = unpartitionedSources.get(sourceId);
                if (currentSource == null) {
                    newSource = source;
                }
                else {
                    newSource = currentSource.update(source);
                }

                // only record new source if something changed
                if (newSource != currentSource) {
                    unpartitionedSources.put(sourceId, newSource);
View Full Code Here

Examples of com.fasterxml.storemate.shared.hash.IncrementalHasher32.update()

      return new IncrementalMurmur3Hasher();
    }

    public static IncrementalHasher32 startChecksum(byte[] data, int offset, int len) {
        IncrementalHasher32 hasher = startChecksum();
        hasher.update(data, offset, len);
        return hasher;
    }

    public static int calcChecksum(byte[] data, int offset, int len) {
        return cleanChecksum(startChecksum(data, offset, len).calculateHash());
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.db.SqlCommand.update()

        objectParam.put("MAIL_STATUS", MailStatus.COMPLETE.toString());

        // 构建Where查询参数
        Object[] objectParamWhere = { StringUtil.getString(mapData.get("MAIL_ID")) };

        sqlCommand.update("FIXFLOW_MAIL", objectParam, " MAIL_ID=?", objectParamWhere);
       
   
        // 异步发送
        mailUtil.send();
View Full Code Here

Examples of com.gi.engine.carto.Layer.update()

        instance = (MapServiceInstance) mapService.getMapServicePool()
            .checkoutIdleInstance();
        HashMap<FeatureId, Boolean> updates = null;
        try {
          Layer layer = instance.getMap().getLayer(nLayerId);
          updates = layer.update(featureCollection);
        } finally {
          if (instance != null) {
            mapService.getMapServicePool().checkinIdelInstance(
                instance);
          }
View Full Code Here

Examples of com.gitblit.authority.NewCertificateConfig.update()

          config.load();
        } catch (Exception e) {
          logger.error("Error parsing " + certificatesConf, e);
        }
        NewCertificateConfig certificateConfig = NewCertificateConfig.KEY.parse(config);
        certificateConfig.update(metadata);
      }

      metadata.notAfter = new Date(System.currentTimeMillis() + 10*TimeUtils.ONEYEAR);
      X509Utils.prepareX509Infrastructure(metadata, baseFolder, new X509Log() {
        @Override
View Full Code Here

Examples of com.github.jmkgreen.morphia.mapping.MappedClass.update()

  public void testExternalMapping() throws Exception {
    Mapper mapr = morphia.getMapper();
    ExternalMapperExtTest.CloneMapper helper = new CloneMapper(mapr);
    helper.map(Skeleton.class, EntityWithNoAnnotations.class);
    MappedClass mc = mapr.getMappedClass(EntityWithNoAnnotations.class);
    mc.update();
    assertNotNull(mc.getIdField());
    assertNotNull(mc.getEntityAnnotation());
    Assert.assertEquals("special", mc.getEntityAnnotation().value());

    EntityWithNoAnnotations ent = new EntityWithNoAnnotations();
View Full Code Here

Examples of com.github.jmkgreen.morphia.testdaos.HotelDAO.update()

        assertTrue(hotelDAO.exists("type", Hotel.Type.BUSINESS));
        assertNotNull(hotelDAO.findOne("type", Hotel.Type.LEISURE));

        // try updating
        UpdateOperations<Hotel> mods = hotelDAO.createUpdateOperations().inc("stars", 1);
        hotelDAO.update(hotelDAO.createQuery().filter("stars", 4), mods);
        assertEquals(2, hotelDAO.count(hotelDAO.createQuery().filter("stars", 5)));

        hotelDAO.deleteById(borg.getId());
        assertEquals(1, hotelDAO.count());
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.