Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for ConcurrentLinkedQueue (0.23 sec)

  1. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        return new CountingRemovalListener<>();
      }
    
      /** {@link RemovalListener} that adds all {@link RemovalNotification} objects to a queue. */
      @GwtIncompatible // ConcurrentLinkedQueue
      static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>>
          implements RemovalListener<K, V> {
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          add(notification);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    return new ConcurrentLinkedQueue<>(MinimalCollection.of(elements));
                  }
                })
            .named("ConcurrentLinkedQueue")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        return new CountingRemovalListener<>();
      }
    
      /** {@link RemovalListener} that adds all {@link RemovalNotification} objects to a queue. */
      @GwtIncompatible // ConcurrentLinkedQueue
      static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>>
          implements RemovalListener<K, V> {
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          add(notification);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

        return deque;
      }
    
      // ConcurrentLinkedQueue
    
      /** Creates an empty {@code ConcurrentLinkedQueue}. */
      @J2ktIncompatible
      @GwtIncompatible // ConcurrentLinkedQueue
      public static <E> ConcurrentLinkedQueue<E> newConcurrentLinkedQueue() {
        return new ConcurrentLinkedQueue<>();
      }
    
      /**
       * Creates a {@code ConcurrentLinkedQueue} containing the elements of the specified iterable, in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    return new ConcurrentLinkedQueue<>(MinimalCollection.of(elements));
                  }
                })
            .named("ConcurrentLinkedQueue")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/Dispatcher.java

    import static java.util.Objects.requireNonNull;
    
    import com.google.common.collect.Queues;
    import java.util.Iterator;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    
    /**
     * Handler for dispatching events to subscribers, providing different event ordering guarantees that
     * make sense for different situations.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Queues;
    import com.google.common.util.concurrent.Uninterruptibles;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.CyclicBarrier;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Dispatcher} implementations.
     *
     * @author Colin Decker
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/crypto/CachedCipher.java

        protected String key;
    
        protected String charsetName = CoreLibConstants.UTF_8;
    
        protected Queue<Cipher> encryptoQueue = new ConcurrentLinkedQueue<>();
    
        protected Queue<Cipher> decryptoQueue = new ConcurrentLinkedQueue<>();
    
        public byte[] encrypto(final byte[] data) {
            final Cipher cipher = pollEncryptoCipher();
            byte[] encrypted;
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    import junit.framework.TestCase;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        protected long userCheckInterval = 10 * 60 * 1000L;// 10 min
    
        protected int userInfoCacheSize = 10000;
    
        protected volatile Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>();
    
        protected volatile Queue<ClickLog> clickLogQueue = new ConcurrentLinkedQueue<>();
    
        protected LoadingCache<String, UserInfo> userInfoCache;
    
        protected String loggerName = "fess.log.searchlog";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20.8K bytes
    - Viewed (1)
Back to top