Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Cleaner (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        assertThat(serverSocket.isClosed()).isTrue();
      }
    
      @SuppressWarnings("Java8ApiChecker")
      static class MyServerExampleWithCleaner implements AutoCloseable {
        private static final Cleaner cleaner = Cleaner.create();
    
        private static Runnable closeServerSocketRunnable(
            ServerSocket serverSocket, AtomicBoolean cleanerRan) {
          return () -> {
            try {
              serverSocket.close();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

                      // is undefined in shutdown hooks.
                      // This is because the logging code installs a shutdown hook of its
                      // own. See Cleaner class inside {@link LogManager}.
                      service.awaitTermination(terminationTimeout, timeUnit);
                    } catch (InterruptedException ignored) {
                      // We're shutting down anyway, so just ignore.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

       * does).
       *
       * <p>Entries with keys that have been garbage collected may be counted in {@link Cache#size}, but
       * will never be visible to read or write operations; such entries are cleaned up as part of the
       * routine maintenance described in the class javadoc.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalStateException if the key strength was already set
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     * <p>Thread Safety: This class is thread-safe. Each evaluate() call creates
     * a new GroovyShell instance to ensure thread isolation.</p>
     *
     * <p>Resource Management: GroovyClassLoader instances are properly managed
     * and cleaned up after script evaluation to prevent memory leaks.</p>
     */
    public class GroovyEngine extends AbstractScriptEngine {
        private static final Logger logger = LogManager.getLogger(GroovyEngine.class);
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

       * does).
       *
       * <p>Entries with keys that have been garbage collected may be counted in {@link Cache#size}, but
       * will never be visible to read or write operations; such entries are cleaned up as part of the
       * routine maintenance described in the class javadoc.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
       * @throws IllegalStateException if the key strength was already set
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    3. **Coverage**: Both success and failure paths are tested
    4. **Edge Cases**: Null, empty, and boundary conditions are covered
    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

         * and cleaning up quoted strings.
         *
         * @param list the list to retrieve the value from
         * @param index the index of the value to retrieve
         * @return the cleaned value at the specified index, or empty string if index is out of bounds
         */
        static String getValue(final List<String> list, final int index) {
            if (index >= list.size()) {
                return StringUtil.EMPTY;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/Crawler.java

            @Option(name = "-p", aliases = "--properties", metaVar = "properties", usage = "Properties File")
            public String propertiesPath;
    
            /** Number of days after which documents should expire and be cleaned up. */
            @Option(name = "-e", aliases = "--expires", metaVar = "expires", usage = "Expires for documents")
            public String expires;
    
            /** Interval in milliseconds for hot thread monitoring and logging. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.32.md

    - kubeadm: promoted feature gate `EtcdLearnerMode` to GA. Learner mode in etcd deployed by kubeadm is now locked to enabled by default. ([#126374](https://github.com/kubernetes/kubernetes/pull/126374), [@pacoxu](https://github.com/pacoxu)) [SIG Cluster Lifecycle]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 16 18:27:41 UTC 2025
    - 448.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
                forceStop();
            }
        }
    
        /**
         * Adds a finished session ID to the cleanup list.
         * This method is thread-safe and adds the session ID to be cleaned up later.
         *
         * @param sessionId the crawler session ID that has finished processing
         */
        public void addFinishedSessionId(final String sessionId) {
            synchronized (finishedSessionIdList) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top