Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 262 for cleanUp (0.03 sec)

  1. android/guava/src/com/google/common/base/internal/Finalizer.java

      @SuppressWarnings("InfiniteLoopStatement")
      @Override
      public void run() {
        while (true) {
          try {
            if (!cleanUp(queue.remove())) {
              break;
            }
          } catch (InterruptedException e) {
            // ignore
          }
        }
      }
    
      /**
       * Cleans up the given reference and any other references already in the queue. Catches and logs
       * all throwables.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        pathToLease.remove(entry.getValue().getPath());
                        cleaned++;
                        log.debug("Cleaned up expired lease: {}", entry.getKey());
                    }
                }
    
                if (cleaned > 0) {
                    log.info("Cleaned up {} expired leases", cleaned);
                }
    
                return cleaned;
            } finally {
                lock.writeLock().unlock();
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            assertTrue(mockService.getPort() > 0);
            assertEquals(0, mockService.getRegistrationCount());
        }
    
        /**
         * Test the complete workflow of witness registration, notification, and cleanup
         */
        @Test
        void testCompleteWitnessWorkflow() throws Exception {
            // Simulate complete witness workflow
    
            // 1. Service discovery and registration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbSessionTest.java

            }
    
            @Test
            @DisplayName("Should handle exceptions during resource cleanup")
            void shouldHandleExceptionsDuringResourceCleanup() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                doThrow(new RuntimeException("Cleanup failed")).when(mockSession).close();
    
                assertThrows(RuntimeException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Test for close() with resource cleanup.
         * Verifies that close properly cleans up resources.
         */
        @Test
        void testClose_withResourceCleanup() {
            // Create a mock that simulates resource cleanup
            doAnswer(invocation -> {
                // Simulate cleanup actions
                return null;
            }).when(smbTree).close();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

    import jakarta.annotation.Resource;
    
    /**
     * A factory class for managing and creating crawler clients based on URL patterns.
     * This class implements AutoCloseable to properly handle resource cleanup.
     *
     * <p>The factory maintains a map of regular expression patterns to crawler clients,
     * allowing for URL-based client selection. Clients can be added with specific patterns
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.18.md

        - [Node binaries](#node-binaries-4)
      - [Changelog since v1.18.15](#changelog-since-v11815)
      - [Changes by Kind](#changes-by-kind-4)
        - [Bug or Regression](#bug-or-regression-4)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake)
      - [Dependencies](#dependencies-4)
        - [Added](#added-4)
        - [Changed](#changed-4)
        - [Removed](#removed-4)
    - [v1.18.15](#v11815)
      - [Downloads for v1.18.15](#downloads-for-v11815)
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  8. docs/changelogs/upgrading_to_okhttp_4.md

    are uncommon and Kotlin callers may have incorrectly assigned the result to `List<String>`.
    
    
    Code Cleanup
    ------------
    
    IntelliJ and Android Studio offer a **Code Cleanup** feature that will automatically update
    deprecated APIs with their replacements. Access this feature from the _Search Anywhere_ dialog
    (double-press shift) or under the _Analyze_ menu.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/ForwardingCache.java

      public CacheStats stats() {
        return delegate().stats();
      }
    
      @Override
      public ConcurrentMap<K, V> asMap() {
        return delegate().asMap();
      }
    
      @Override
      public void cleanUp() {
        delegate().cleanUp();
      }
    
      /**
       * A simplified version of {@link ForwardingCache} where subclasses can pass in an already
       * constructed {@link Cache} as the delegate.
       *
       * @since 10.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * Initializes the process management system with default timeout values.
         */
        public ProcessHelper() {
            // Default constructor
        }
    
        /**
         * Cleanup method called when the bean is destroyed.
         * Stops all running processes and cleans up resources.
         */
        @PreDestroy
        public void destroy() {
            for (final String sessionId : runningProcessMap.keySet()) {
                if (logger.isInfoEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 06:54:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top