Examples of update()


Examples of com.aelitis.azureus.core.util.average.Average.update()

                 
                      // skip initial value as 'last_value' is invalid
                   
                    if ( !new_average ){
                   
                      a.update(((Long)value).longValue() - last_value);
                    }
                  }else{
                   
                    a.update(((Long)value).longValue());
View Full Code Here

Examples of com.agiletec.plugins.jpmyportalplus.aps.system.services.userconfig.model.CustomPageConfig.update()

    try {
      CustomPageConfig pageConfig = this.getGuestPageConfig(page, request);
      if (null == pageConfig) {
        pageConfig = new CustomPageConfig(page.getCode(), page.getModel().getFrames().length);
      }
      pageConfig.update(updateInfos);
      String cookieName = this.getCookieName(page);
      Cookie newCookie = pageConfig.toCookie(cookieName);
      response.addCookie(newCookie);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "updateGuestPageConfig");
View Full Code Here

Examples of com.alexnevsky.hotel.dao.OrderDAO.update()

      logger.info("Admin '" + request.getSession().getAttribute(AttributesManager.PARAM_NAME_LOGIN)
          + "'. Change order status to '" + OrderStatusEnum.CANCELLED.toString() + "' for '" + order + "'"
          + ". RemoteAddr: " + request.getRemoteAddr());

      orderDAO.update(OrderStatusEnum.CANCELLED, orderId);

      request.setAttribute(AttributesManager.ATTRIBUTE_RESULT, MessageManager.RESULT_CANCEL_ORDER_MESSAGE);

    } catch (DAOException ex) {
      logger.error(ex, ex);
View Full Code Here

Examples of com.alibaba.druid.support.ibatis.SqlMapClientWrapper.update()

            } catch (Exception ex) {
                error = ex;
            }
            Assert.assertNotNull(error);
        }
        wrapper.update("User.update", new User(12345678, "bbb"));
        {
            Exception error = null;
            try {
                wrapper.update("User.update");
            } catch (Exception ex) {
View Full Code Here

Examples of com.alibaba.druid.support.ibatis.SqlMapExecutorWrapper.update()

            } catch (Exception ex) {
                error = ex;
            }
            Assert.assertNotNull(error);
        }
        wrapper.update("User.update", new User(12345678, "bbb"));
        {
            Exception error = null;
            try {
                wrapper.update("User.update");
            } catch (Exception ex) {
View Full Code Here

Examples of com.alibaba.jstorm.metric.JStormHistogram.update()

                netTransTime = Metrics.registerHistograms(remoteAddr, MetricDef.NETWORK_MSG_TRANS_TIME,
                    null, Metrics.MetricType.WORKER);
                networkTransmitTimeMap.put(remoteAddr, netTransTime);
              }
             
              netTransTime.update(interval);
          }
         
          return ctrl_msg;
        }
View Full Code Here

Examples of com.alibaba.jstorm.task.TkHbCacheTime.update()

        LOG.info("No ZK task hearbeat " + idStr);
        return true;
      }

      taskHB = new TkHbCacheTime();
      taskHB.update(zkTaskHeartbeat);

      taskHBs.put(taskId, taskHB);

      return false;
    }
View Full Code Here

Examples of com.alibaba.otter.canal.parse.driver.mysql.MysqlUpdateExecutor.update()

        return exector.query(cmd);
    }

    public void update(String cmd) throws IOException {
        MysqlUpdateExecutor exector = new MysqlUpdateExecutor(connector);
        exector.update(cmd);
    }

    /**
     * 加速主备切换时的查找速度,做一些特殊优化,比如只解析事务头或者尾
     */
 
View Full Code Here

Examples of com.alibaba.wasp.client.ClientProtocol.update()

              entityGroupInfo.getEntityGroupName(), action);
          writeResultProtos.add(response.getResult());
        } else {
          ClientProtocol clientProtocol = connection.getClient(
              serverName.getHostname(), serverName.getPort());
          ClientProtos.UpdateResponse response = clientProtocol.update(null,
              RequestConverter.buildUpdateRequest(action));
          writeResultProtos.add(response.getResult());
        }
      } catch (ServiceException e) {
        if (e.getCause() != null && e.getCause() instanceof IOException) {
View Full Code Here

Examples of com.antonytrupe.server.tend.API.update()

    json = (String) ge.invoke(board, "stringify");

    result = ge.persistence.save("Board", id, "json", json);

    api.update(board, json);

    json = (String) ge.invoke(board, "stringify");

    assertEquals(1, board.get("id"));
  }
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.