Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deleteIfExists (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            if (info.getType() != HandleType.PERSISTENT) {
                return;
            }
    
            Path handleFile = stateDirectory.resolve(info.getCreateGuid().toString() + ".handle");
            try {
                Files.deleteIfExists(handleFile);
                log.debug("Removed persisted handle file: {}", handleFile);
            } catch (IOException e) {
                log.error("Failed to remove persisted handle file: " + handleFile, e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

         */
        public static void deleteInBackground(final File file) {
            if (file != null) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    try {
                        Files.deleteIfExists(file.toPath());
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                }, 0, false);
            }
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. docs/smb3-features/02-persistent-handles-design.md

            if (info.type != HandleType.PERSISTENT) {
                return;
            }
            
            Path handleFile = stateDirectory.resolve(info.createGuid.toString() + ".handle");
            try {
                Files.deleteIfExists(handleFile);
            } catch (IOException e) {
                log.error("Failed to remove persisted handle", e);
            }
        }
        
        private void loadPersistedHandles() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top