Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 303 for isSynchronized (0.07 seconds)

  1. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @param sessionId the crawler session ID that has finished processing
         */
        public void addFinishedSessionId(final String sessionId) {
            synchronized (finishedSessionIdList) {
                finishedSessionIdList.add(sessionId);
            }
        }
    
        /**
         * Deletes all data associated with a specific crawler session.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
        }
    
        protected synchronized void initDocUrlPattern() {
    
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            if (includedDocUrlPatterns == null) {
                if (StringUtil.isNotBlank(getIncludedDocUrls())) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

                        startLatch.await(); // Wait for signal to start
                        conn.connect();
                        successCount.incrementAndGet();
                    } catch (Exception e) {
                        synchronized (exceptions) {
                            exceptions.add(e);
                        }
                        failureCount.incrementAndGet();
                    } finally {
                        doneLatch.countDown();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

     * Provides utility methods for URL processing, site extraction, data mapping,
     * and field configuration handling during the document transformation process.
     */
    public interface FessTransformer {
    
        /**
         * Synchronized LRU cache for storing parent URL encodings.
         * Maps session+parent URL keys to their corresponding character encodings.
         */
        Map<String, String> parentEncodingMap = Collections.synchronizedMap(new LruHashMap<>(1000));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
    
        }
    
        protected synchronized void initDocPathPattern() {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    
            if (includedDocPathPatterns == null) {
                if (StringUtil.isNotBlank(getIncludedDocPaths())) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      /** The number of bytes of the POST body to keep in memory to the given limit. */
      public var bodyLimit: Long = Long.MAX_VALUE
    
      public var serverSocketFactory: ServerSocketFactory?
        @Synchronized get() = serverSocketFactory_
    
        @Synchronized set(value) {
          check(socketAddress_ == null) { "serverSocketFactory must not be set after start()" }
          serverSocketFactory_ = value
        }
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

          while (true) {
            var tryAgain = false
            var readBytesDelivered = -1L
            var errorExceptionToDeliver: IOException? = null
    
            // 1. Decide what to do in a synchronized block.
    
            withLock {
              val doReadTimeout = doReadTimeout()
              if (doReadTimeout) {
                readTimeout.enter()
              }
              try {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      }
    
      private static class TestApplication extends Application {
        private final List<Thread> hooks = new ArrayList<>();
    
        @Override
        synchronized void addShutdownHook(Thread hook) {
          hooks.add(hook);
        }
    
        synchronized void shutdown() throws InterruptedException {
          for (Thread hook : hooks) {
            hook.start();
          }
          for (Thread hook : hooks) {
            hook.join();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            when(address.getHostName()).thenReturn("testhost");
    
            transport = new SmbTransportImpl(context, address, 445, null, 0, false);
        }
    
        /**
         * Test that pre-auth integrity hash is properly synchronized
         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testOrderingUnmodifiable() {
        SetMultimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(Multimaps.unmodifiableMultimap(multimap));
      }
    
      @J2ktIncompatible // Synchronized
      public void testOrderingSynchronized() {
        SetMultimap<String, Integer> multimap = initializeMultimap5();
        assertOrderingReadOnly(synchronizedMultimap(multimap));
      }
    
      @J2ktIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top