Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 154 for Synchronized (0.07 sec)

  1. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

         * The ingester is inserted into the collection and the array is re-sorted by priority.
         * This method is thread-safe.
         *
         * @param ingester the ingester to add
         */
        public synchronized void add(final Ingester ingester) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", ingester.getClass().getSimpleName());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
        TestDeque<String> inner = new TestDeque<>();
        Deque<String> outer = Synchronized.deque(inner, inner.mutex);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            writeUtf8("\r\n")
            write(source, byteCount)
            writeUtf8("\r\n")
          }
        }
    
        @Synchronized
        override fun flush() {
          if (closed) return // Don't throw; this stream might have been closed on the caller's behalf.
          socket.sink.flush()
        }
    
        @Synchronized
        override fun close() {
          if (closed) return
          closed = true
          socket.sink.writeUtf8("0\r\n\r\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
        TestDeque<String> inner = new TestDeque<>();
        Deque<String> outer = Synchronized.deque(inner, inner.mutex);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(dataMap);
    
            synchronized (docList) {
                docList.add(ingest(paramMap, dataMap));
                final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
                docList.addContentSize(contentSize);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Enums.java

        }
        enumConstantCache.put(enumClass, result);
        return result;
      }
    
      static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> getEnumConstants(
          Class<T> enumClass) {
        synchronized (enumConstantCache) {
          Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass);
          if (constants == null) {
            constants = populateCache(enumClass);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java

            super("ECL0041", asArray(targetClass.getName(), cause), cause);
            this.targetClass = targetClass;
        }
    
        @Override
        public synchronized InstantiationRuntimeException initCause(final Throwable cause) {
            return (InstantiationRuntimeException) super.initCause(cause);
        }
    
        /**
         * Returns the target class.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

        }
    
        public void test_crawlerList_synchronization() {
            // Test that the crawler list is synchronized
            List<org.codelibs.fess.crawler.Crawler> crawlerList = webFsIndexHelper.crawlerList;
            assertTrue(crawlerList.getClass().getName().contains("Synchronized"));
        }
    
        public void test_defaultValues() {
            assertEquals(Long.MAX_VALUE, webFsIndexHelper.maxAccessCount);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

                throw new SQLRuntimeException(e);
            }
        }
    
        /**
         * Deregisters all JDBC drivers associated with the current class loader.
         */
        public static synchronized void deregisterAllDrivers() {
            for (final Enumeration<Driver> e = DriverManager.getDrivers(); e.hasMoreElements();) {
                deregisterDriver(e.nextElement());
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top