Examples of upgrade()


Examples of com.drakulo.games.ais.core.building.Building.upgrade()

        // We have to update the building list in the game data.
        Building building = action.getBuilding();

        if (action.isUpgrade()) {
          building.upgrade();// Uprade
          building.setUpgrading(false); // The upgrading is done
        } else {
          // If the created building is unique, a flag must be set
          if (BuildingType.RESEARCH_CENTER.equals(building.getType())) {
            c.setResearchCenterBuilt(true);
View Full Code Here

Examples of com.liferay.portal.kernel.upgrade.UpgradeProcess.upgrade()

      if (_log.isDebugEnabled()) {
        _log.debug("Running upgrade " + upgradeProcessClassName);
      }

      upgradeProcess.upgrade();

      if (_log.isDebugEnabled()) {
        _log.debug("Finished upgrade " + upgradeProcessClassName);
      }
View Full Code Here

Examples of com.sleepycat.db.internal.Db.upgrade()

    public static void upgrade(final String fileName,
                        DatabaseConfig config)
        throws DatabaseException, java.io.FileNotFoundException {

        final Db db = DatabaseConfig.checkNull(config).createDatabase(null);
        db.upgrade(fileName,
            config.getSortedDuplicates() ? DbConstants.DB_DUPSORT : 0);
        db.close(0);
    }

    /**
 
View Full Code Here

Examples of com.sun.appserv.addons.Configurator.upgrade()

                    conf.unconfigure(cc);
                    ar.setStatus(addonName, AddonRegistry.status.UNCONFIGURE);
                    break;
                case UPGRADE :
                    ar.setStatus(oldVersion.getName(), AddonRegistry.status.REMOVE);
                    conf.upgrade(cc, oldVersion);
                    ar.setStatus(addonName, AddonRegistry.status.CONFIGURE);
                    ar.setStatus(addonName, AddonRegistry.status.ENABLE);
                    // move old component to .deleted directory
                    break;
                default :
View Full Code Here

Examples of javax.servlet.http.HttpServletRequest.upgrade()

                    filterChain.doFilter(request, response);
                    break;
                case SUCCESS:
                    LOGGER.fine("Upgrading Servlet request");

                    handler.setHandler(httpServletRequest.upgrade(TyrusHttpUpgradeHandler.class));
                    final String frameBufferSize = request.getServletContext().getInitParameter(TyrusHttpUpgradeHandler.FRAME_BUFFER_SIZE);
                    if (frameBufferSize != null) {
                        handler.setIncomingBufferSize(Integer.parseInt(frameBufferSize));
                    }
View Full Code Here

Examples of net.sf.katta.protocol.upgrade.UpgradeAction.upgrade()

    }
    MasterQueue queue = _protocol.publishMaster(this);
    if (queue != null) {
      UpgradeAction upgradeAction = UpgradeRegistry.findUpgradeAction(_protocol, Version.readFromJar());
      if (upgradeAction != null) {
        upgradeAction.upgrade(_protocol);
      }
      _protocol.setVersion(Version.readFromJar());
      LOG.info(getMasterName() + " became master with " + queue.size() + " waiting master operations");
      startNodeManagement();
      MasterContext masterContext = new MasterContext(_protocol, this, _deployPolicy, queue);
View Full Code Here

Examples of nexj.core.persistence.PersistenceAdapter.upgrade()

            if (dataSourceSet.contains(dataSource))
            {
               PersistenceAdapter adapter = (PersistenceAdapter)dataSource.getComponent().getInstance(m_context);

               adapter.upgrade(su, Upgrade.getState(stateMap, su), version);
            }
            else
            {
               su.apply(Upgrade.getState(stateMap, su));
            }
View Full Code Here

Examples of nexj.core.persistence.sql.SQLSchemaManager.upgrade()

         manager.truncateSchema(getSchema());
      }
      else if (sCommand.equals("upgrade"))
      {
         manager = getSchemaManager();
         manager.upgrade(getSchema(), getProperty("meta.start"));
      }
      else if (sCommand.equals("analyze"))
      {
         manager = getSchemaManager();
         manager.analyzeSchema(getSchema());
View Full Code Here

Examples of org.apache.cassandra.db.compaction.Upgrader.upgrade()

            for (SSTableReader sstable : readers)
            {
                try
                {
                    Upgrader upgrader = new Upgrader(cfs, sstable, handler);
                    upgrader.upgrade();

                    sstable.markCompacted();
                    sstable.releaseReference();
                }
                catch (Exception e)
View Full Code Here

Examples of org.apache.cassandra.db.compaction.Upgrader.upgrade()

            for (SSTableReader sstable : readers)
            {
                try
                {
                    Upgrader upgrader = new Upgrader(cfs, sstable, handler);
                    upgrader.upgrade();
                }
                catch (Exception e)
                {
                    System.err.println(String.format("Error upgrading %s: %s", sstable, e.getMessage()));
                    if (options.debug)
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.