Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 238 for cleaner (0.04 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

    }
    
    @Override
    public void close() throws IOException {
        try {
            super.close();
        } finally {
            // Don't release directory lease on close - it may be shared
            // Lease will be cleaned up by the lease manager
        }
    }
    ```
    
    ### 5.2 Session Integration
    ```java
    // In SmbSession.java
    private DirectoryLeaseManager directoryLeaseManager;
    
    public void initializeDirectoryLeasing() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                            log.debug("Error shutting down persistent handle manager during emergency cleanup", e);
                        }
                    }
    
                    // Emergency cleanup of trees
                    if (this.trees != null) {
                        try {
                            // Clear all tree references
                            for (SmbTreeImpl tree : this.trees) {
                                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

    import org.junit.jupiter.api.Timeout;
    import org.mockito.Mockito;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    
    /**
     * Simple memory management tests to validate basic resource cleanup functionality
     */
    public class SimpleMemoryManagementTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected int numOfThreads = 1;
    
            /**
             * Whether to run in cleanup mode to remove old thumbnails.
             */
            @Option(name = "-c", aliases = "--cleanup", usage = "Clean-Up mode")
            protected boolean cleanup;
    
            /**
             * Default constructor for command-line options.
             */
            protected Options() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            boolean inUse = false;
    
            // Cleanup first
            cleanup();
            log.debug("Closing pool");
    
            // Create a snapshot of connections to close
            List<SmbTransportImpl> toClose = new ArrayList<>(this.connections);
            toClose.addAll(this.nonPooledConnections);
    
            // Clear the collections (thread-safe operations)
            this.connections.clear();
            this.nonPooledConnections.clear();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

          return false;
        }
    
        /**
         * Performs routine cleanup following a read. Normally cleanup happens during writes. If cleanup
         * is not observed after a sufficient number of reads, try cleaning up from the read thread.
         */
        void postReadCleanup() {
          if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) {
            cleanUp();
          }
        }
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  7. CLAUDE.md

    // Iterate all
    ds.iterate(sessionId, accessResult -> {
        System.out.println(accessResult.getUrl());
        System.out.println(accessResult.getContent());
    });
    
    // Cleanup
    ds.delete(sessionId);
    ```
    
    ### Resource Cleanup Pattern
    
    ```java
    // Always use try-with-resources for ResponseData
    try (ResponseData responseData = client.execute(requestData)) {
        // Process
    }  // Temp files auto-deleted
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, nameFilter);
    
            // Then: Iterator should have no elements
            assertFalse(iterator.hasNext());
    
            // Cleanup
            iterator.close();
        }
    
        @Test
        @DisplayName("Iterator should handle filter that throws CIFSException")
        void testIterator_FilterThrowsException() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    // Ignore listing errors during cleanup
                    log.debug("Error listing files during cleanup", e);
                }
            }
    
            try {
                file.delete();
            } catch (SmbException e) {
                // Ignore deletion errors during cleanup
                log.debug("Error deleting file during cleanup", e);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
            assertNull(block.andx, "andx should be cleared when not chaining");
        }
    
        @Test
        @DisplayName("writeAndXWireFormat with andx but batching prevented by limit")
        void testWriteAndXWireFormatBatchingPrevented() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top