Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SynchronizedList (0.24 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

    package org.codelibs.fess.suggest.index.writer;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    public class SuggestWriterResult {
        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        public boolean hasFailure() {
            return !failures.isEmpty();
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class);
    
      // TODO(chrisn): promote AppendOnlyCollection for use here.
      private final List<PerListenerQueue<L>> listeners =
          Collections.synchronizedList(new ArrayList<PerListenerQueue<L>>());
    
      /** Method reference-compatible listener event. */
      interface Event<L> {
        /** Call a method on the listener. */
        void call(L listener);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

        protected int crawlerPriority = Thread.NORM_PRIORITY;
    
        protected final List<DataCrawlingThread> dataCrawlingThreadList = Collections.synchronizedList(new ArrayList<>());
    
        public void crawl(final String sessionId) {
            final List<DataConfig> configList = ComponentUtil.getCrawlingConfigHelper().getAllDataConfigList();
    
            if (configList.isEmpty()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

        return (list instanceof RandomAccess)
            ? new SynchronizedRandomAccessList<E>(list, mutex)
            : new SynchronizedList<E>(list, mutex);
      }
    
      static class SynchronizedList<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements List<E> {
        SynchronizedList(List<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

        return (list instanceof RandomAccess)
            ? new SynchronizedRandomAccessList<E>(list, mutex)
            : new SynchronizedList<E>(list, mutex);
      }
    
      static class SynchronizedList<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements List<E> {
        SynchronizedList(List<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        protected int indexUpdaterPriority = Thread.MAX_PRIORITY;
    
        protected int crawlerPriority = Thread.NORM_PRIORITY;
    
        protected final List<Crawler> crawlerList = Collections.synchronizedList(new ArrayList<>());
    
        public void crawl(final String sessionId, final List<String> webConfigIdList, final List<String> fileConfigIdList) {
            final boolean runAll = webConfigIdList == null && fileConfigIdList == null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

          )
        }
        val request =
          Request.Builder()
            .url(webServer.url("/"))
            .build()
        val attempts = CountDownLatch(20)
        val webSockets = Collections.synchronizedList(ArrayList<WebSocket>())
        val reconnectOnFailure: WebSocketListener =
          object : WebSocketListener() {
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top