Examples of cleanup()


Examples of org.openscience.jchempaint.controller.IChemModelRelay.cleanup()

     */
    public void actionPerformed(ActionEvent e) {
        logger.info("Going to perform a clean up...");
        WaitDialog.showDialog();
        IChemModelRelay hub = jcpPanel.get2DHub();
        hub.cleanup();
        jcpPanel.setIsNewChemModel(true);
        WaitDialog.hideDialog();
        hub.updateView();
    }
}
View Full Code Here

Examples of org.opentripplanner.profile.ProfileRouter.cleanup()

                return Response.status(Status.OK).entity(surfaceShorts).build();
            } else {
                return Response.status(Status.OK).entity(response).build();
            }
        } finally {
            router.cleanup(); // destroy routing contexts even when an exception happens
        }

    }
   
}
View Full Code Here

Examples of org.opentripplanner.routing.core.RoutingRequest.cleanup()

            sptRequestA.setMode(TraverseMode.WALK); // fall back to walk mode
            sptRequestA.setRoutingContext(graphService.getGraph());
        }
        ShortestPathTree sptA = sptService.getShortestPathTree(sptRequestA);
        StreetLocation origin = (StreetLocation) sptRequestA.rctx.fromVertex;
        sptRequestA.cleanup(); // remove inserted points

        // create a LineString for display
        Coordinate pathToStreetCoords[] = new Coordinate[2];
        pathToStreetCoords[0] = dropPoint;
        pathToStreetCoords[1] = origin.getCoordinate();
View Full Code Here

Examples of org.owasp.dependencycheck.Engine.cleanup()

                    "Unable to connect to the dependency-check database; analysis has stopped");
            LOGGER.log(Level.FINE, "", ex);
        } finally {
            Settings.cleanup(true);
            if (engine != null) {
                engine.cleanup();
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.pentaho.di.trans.Trans.cleanup()

        }

        currentlyRunningTransformation = trans;
        trans.startThreads();
        trans.waitUntilFinished();
        trans.cleanup();
        return tableProducer.getTableModel();
      }
      finally
      {
        currentlyRunningTransformation = null;
View Full Code Here

Examples of org.python.core.PySystemState.cleanup()

        try {
            sys.stderr.invoke("flush");
        } catch (PyException pye) {
            // fall through
        }
        sys.cleanup();
    }
}
View Full Code Here

Examples of org.python.util.PythonInterpreter.cleanup()

                properties.setProperty("python.home", StaticConfiguration.JYTHON_HOME);
                PythonInterpreter.initialize(System.getProperties(), properties, new String[]{""});
                PythonInterpreter interp = new PythonInterpreter(new org.python.core.PyStringMap(), new org.python.core.PySystemState());
                interp.setOut(output);
                interp.setErr(output);
                interp.cleanup();
                //java -cp %JYTHON_HOME%\jython.jar -Dpython.home=%JYTHON_HOME% -Dpython.path=%FORMATTER_DIR% org.python.util.jython %JYTHON_HOME%\Lib\pythondoc.py -f -s -Otestscriptdoc_xmlformatter -Dtestsuite_dir=%TEST_SUITE_DIR% !TEST_SCRIPTS!
                String args = "import sys;sys.argv[1:]= ['" + campaignFile +  "']";
                interp.exec(args);
                interp.exec("__name__ = '__main__'");
                interp.exec("execfile(r'" + StaticConfiguration.QTASTE_ROOT + "/tools/TestProcedureDoc/generateTestCampaignDoc.py')");
View Full Code Here

Examples of org.rhq.plugins.cassandra.util.KeyspaceService.cleanup()

        KeyspaceService keyspaceService = new KeyspaceService(getEmsConnection());
        String keyspace = context.getResourceKey();

        log.info("Executing cleanup on keyspace [" + keyspace + "]");
        long start = System.currentTimeMillis();
        keyspaceService.cleanup(keyspace);
        long end = System.currentTimeMillis();

        log.info("Finished cleanup on keyspace [" + keyspace + "] in " + (end - start) + " ms");

        return new OperationResult();
View Full Code Here

Examples of org.rssowl.core.persist.service.IModelSearch.cleanUp()

          modelSearch.startup();

          /* Trigger Clean Up */
          if (!progressMonitor.isCanceled()) {
            Activator.safeLogInfo("Start: Search Clean-Up"); //$NON-NLS-1$
            modelSearch.cleanUp(subMonitor != null ? subMonitor.newChild(20) : new NullProgressMonitor());

            /* Delete the Marker */
            safeDelete(cleanUpIndexFile);

            /* Log Status */
 
View Full Code Here

Examples of org.syncany.tests.util.TestClient.cleanup()

    CleanupOperationOptions cleanupOptions = new CleanupOperationOptions();
    cleanupOptions.setKeepVersionsCount(1);
    boolean cleanupFailed = false;
    try {
      clientA.cleanup(cleanupOptions);
    }
    catch (StorageException e) {
      cleanupFailed = true;
    }
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.