Examples of cleanup()


Examples of io.druid.segment.data.IOPeon.cleanup()

    for (MetricColumnSerializer metWriter : metWriters) {
      metWriter.close();
    }

    ioPeon.cleanup();
    log.info(
        "outDir[%s] completed walk through of %,d rows in %,d millis.",
        v8OutDir,
        rowCount,
        System.currentTimeMillis() - startTime
View Full Code Here

Examples of io.druid.segment.data.TmpFileIOPeon.cleanup()

        if (converter != null) {
          dimConversions.get(i).put(dimension, converters[i].getConversionBuffer());
        }
      }

      ioPeon.cleanup();
    }
    log.info("outDir[%s] completed dim conversions in %,d millis.", v8OutDir, System.currentTimeMillis() - startTime);

    /************* Walk through data sets and merge them *************/
    progress.progress();
View Full Code Here

Examples of io.s4.comm.zk.ZkTaskSetup.cleanUp()

        task1.put("name", "task-1");

        Map<String, String> task2 = new HashMap<String, String>();
        task2.put("name", "task-2");
        String tasksListRoot = root + "/tasks";
        zkSetup.cleanUp();
        Stat exists = zk.exists(tasksListRoot, false);
        myassert(exists == null);
        Object[] data = new Object[] { task1, task2 };
        zkSetup.setUpTasks(data);
View Full Code Here

Examples of javax.jbi.component.Bootstrap.cleanUp()

        bootstrap.init(null);
        bootstrapMock.setMatcher(MockControl.ALWAYS_MATCHER);
        bootstrap.onInstall();
        bootstrap.getExtensionMBeanName();
        bootstrapMock.setReturnValue(null);
        bootstrap.cleanUp();
        bootstrapMock.replay();
        // configure component
        componentMock.reset();
        componentMock.replay();
        // test component installation
View Full Code Here

Examples of javax.resource.spi.ManagedConnection.cleanup()

      if (mConn == null) {
        return;
      }

      mConn.cleanup();

      long now = Alarm.getCurrentTime();

      if (_idlePool.size() == 0)
        _idlePoolExpire = now + _idleTimeout;
View Full Code Here

Examples of jenkins.model.Jenkins.cleanUp()

                        LOGGER.log(Level.SEVERE, "Failed to initialize Jenkins",e);
                        context.setAttribute(APP,new HudsonFailedToLoad(e));
                    } finally {
                        Jenkins instance = Jenkins.getInstance();
                        if(!success && instance!=null)
                            instance.cleanUp();
                    }
                }
            };
            initThread.start();
        } catch (Error e) {
View Full Code Here

Examples of joshua.decoder.JoshuaDecoder.cleanUp()

    //============== generate nbest by joshua decoder
    logger.info("joshua decoding using " + trueJoshuaConfigFile);
    JoshuaDecoder decoder = new JoshuaDecoder(trueJoshuaConfigFile);
    String nbestTemFile = nbestFile + ".tem";
    decoder.decodeTestSet(testFile, nbestTemFile, null);
    decoder.cleanUp();
   
   
    //============== convert nbest to mert format   
    List<Double> googleWeights = ConfigFileConverter.readGoogleWeightsFromJoshuaConfig(trueJoshuaConfigFile);
    LinearCorpusGainRecover recover = new LinearCorpusGainRecover(googleWeights);
View Full Code Here

Examples of lcmc.common.ui.utils.MyMenuItem.cleanup()

                new AccessMode(AccessMode.ADMIN, AccessMode.NORMAL),
                new AccessMode(AccessMode.OP, AccessMode.NORMAL));
        drbdResourceMenuItem.addAction(new MenuAction() {
            @Override
            public void run(final String text) {
                drbdResourceMenuItem.cleanup();
                blockDevInfo.resetInfoPanel();
                blockDevInfo.setInfoPanel(null);
                oBdi.cleanup();
                oBdi.resetInfoPanel();
                oBdi.setInfoPanel(null);
View Full Code Here

Examples of mage.client.dialog.PickPileDialog.cleanUp()

    public void pickPile(String message, CardsView pile1, CardsView pile2) {
        hideAll();
        PickPileDialog pickPileDialog = new PickPileDialog();
        pickPileDialog.loadCards(message, pile1, pile2, bigCard, Config.dimensions, gameId);
        session.sendPlayerBoolean(gameId, pickPileDialog.isPickedPile1());
        pickPileDialog.cleanUp();
        pickPileDialog.removeDialog();
    }

    public Map<UUID, PlayAreaPanel> getPlayers() {
        return players;
View Full Code Here

Examples of mage.game.Table.cleanUp()

    @Override
    public void removeTable(UUID tableId) {
        Table table = tables.get(tableId);
        if (table != null) {
            table.cleanUp();
            tables.remove(tableId);
            if (logger.isDebugEnabled()) {
                logger.debug("Table removed: " + tableId);
            }
        }
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.