Examples of filesExist()


Examples of com.sleepycat.je.log.FileManager.filesExist()

            FileManager fileManager = envImpl.getFileManager();
            DbConfigManager configManager = envImpl.getConfigManager();
            boolean forceCheckpoint =
                configManager.getBoolean
                (EnvironmentParams.ENV_RECOVERY_FORCE_CHECKPOINT);
            if (fileManager.filesExist()) {

                /*
                 * Check whether log files are correctly located in the sub
                 * directories.
                 */
 
View Full Code Here

Examples of com.sleepycat.je.log.FileManager.filesExist()

            FileManager fileManager = env.getFileManager();
      DbConfigManager configManager = env.getConfigManager();
      boolean forceCheckpoint =
    configManager.getBoolean
    (EnvironmentParams.ENV_RECOVERY_FORCE_CHECKPOINT);
            if (fileManager.filesExist()) {

                /*
                 * Establish the location of the end of the log. After this, we
                 * can write to the log. No Tracer calls are allowed until
                 * after this point is established in the log.
View Full Code Here

Examples of com.sleepycat.je.log.FileManager.filesExist()

            FileManager fileManager = env.getFileManager();
      DbConfigManager configManager = env.getConfigManager();
      boolean forceCheckpoint =
    configManager.getBoolean
    (EnvironmentParams.ENV_RECOVERY_FORCE_CHECKPOINT);
            if (fileManager.filesExist()) {

                /*
                 * Establish the location of the end of the log. After this, we
                 * can write to the log. No Tracer calls are allowed until
                 * after this point is established in the log.
View Full Code Here

Examples of com.sleepycat.je.log.FileManager.filesExist()

            FileManager fileManager = envImpl.getFileManager();
            DbConfigManager configManager = envImpl.getConfigManager();
            boolean forceCheckpoint =
                configManager.getBoolean
                (EnvironmentParams.ENV_RECOVERY_FORCE_CHECKPOINT);
            if (fileManager.filesExist()) {

                /*
                 * Establish the location of the end of the log.  Log this
                 * information to the java.util.logging logger, but delay
                 * tracing this information in the .jdb file, because the
View Full Code Here

Examples of com.sleepycat.je.log.FileManager.filesExist()

            FileManager fileManager = env.getFileManager();
      DbConfigManager configManager = env.getConfigManager();
      boolean forceCheckpoint =
    configManager.getBoolean
    (EnvironmentParams.ENV_RECOVERY_FORCE_CHECKPOINT);
            if (fileManager.filesExist()) {

                /*
                 * Establish the location of the end of the log. After this, we
                 * can write to the log. No Tracer calls are allowed until
                 * after this point is established in the log.
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.filesExist()

         *    1) We are currently set to allow the "Change Data Directory" option, and
         *    2) We've only got one item selected - otherwise, we may potentially end up checking massive
         *       amounts of files across multiple torrents before we generate a menu.
         */
        if (bChangeDir && dms.length == 1) {
          bChangeDir = dm.isDataAlreadyAllocated() && !dm.filesExist( true );
        }

        boolean scan = dm.getDownloadState().getFlag(DownloadManagerState.FLAG_SCAN_INCOMPLETE_PIECES);

        // include DND files in incomplete stat, since a recheck may
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.filesExist()

   
    final MenuItem itemCheckFilesExist = new MenuItem(menuFiles, SWT.PUSH);
    Messages.setLanguageText(itemCheckFilesExist, "MyTorrentsView.menu.checkfilesexist");
    itemCheckFilesExist.addListener(SWT.Selection, new DMTask(dms) {
      public void run(DownloadManager dm) {
        dm.filesExist( true );
      }
    });

    final MenuItem itemFileRescan = new MenuItem(menuFiles, SWT.CHECK);
    Messages.setLanguageText(itemFileRescan, "MyTorrentsView.menu.rescanfile");
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.filesExist()

      for (int i = 0; i < dms.length; i++) {
        DownloadManager dm = dms[i];
       
        int state = dm.getState();
        if (state == DownloadManager.STATE_STOPPED) {
          if (!dm.filesExist(true)) {
            state = DownloadManager.STATE_ERROR;
          }
        }

        if (state == DownloadManager.STATE_ERROR) {
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.filesExist()

        if (state == DownloadManager.STATE_ERROR) {
         
          dm.setTorrentSaveDir(sSavePath);
         
          boolean found = dm.filesExist(true);
          if (!found && dm.getTorrent() != null
              && !dm.getTorrent().isSimpleTorrent()) {
            String parentPath = fSavePath.getParent();
            if (parentPath != null) {
              dm.setTorrentSaveDir(parentPath);
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.filesExist()

          if (!found && dm.getTorrent() != null
              && !dm.getTorrent().isSimpleTorrent()) {
            String parentPath = fSavePath.getParent();
            if (parentPath != null) {
              dm.setTorrentSaveDir(parentPath);
              found = dm.filesExist(true);
              if (!found) {
                dm.setTorrentSaveDir(sSavePath);
              }
            }
          }
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.