Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 319 for enqueue (0.1 seconds)

  1. android/guava/src/com/google/common/collect/Iterables.java

       * {@link Iterators#consumingIterator(Iterator)}.
       *
       * <p>Note: If {@code iterable} is a {@link Queue}, the returned iterable will instead use {@link
       * Queue#isEmpty} and {@link Queue#remove()}, since {@link Queue}'s iteration order is undefined.
       * Calling {@link Iterator#hasNext()} on a generated iterator from the returned iterable may cause
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  2. internal/logger/target/http/http.go

    				// there is something in the log queue
    				// process it first, even if we tickered
    				// first, or we have not received any events
    				// yet, still wait on it.
    				continue
    			}
    
    			// If we are doing batching, we should wait
    			// at least for a second, before sending.
    			// Even if there is nothing in the queue.
    			if h.batchSize > 1 && time.Since(lastBatchProcess) < time.Second {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. internal/event/target/kafka.go

    			return err
    		}
    	}
    	if k.BatchSize > 1 {
    		if k.QueueDir == "" {
    			return errors.New("batch should be enabled only if queue dir is enabled")
    		}
    	}
    	if k.BatchCommitTimeout > 0 {
    		if k.QueueDir == "" || k.BatchSize <= 1 {
    			return errors.New("batch commit timeout should be set only if queue dir is enabled and batch size > 1")
    		}
    	}
    	return nil
    }
    
    // KafkaTarget - Kafka target.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

        }
    
        /**
         * Constructor that may alter behaviour of this listener.
         *
         * @param delegate The delegate that should run on single thread.
         * @param queueSize The event queue size (default {@code 1024}).
         * @param batchMaxSize The maximum batch size delegate should receive (default {@code 500}).
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. cmd/admin-heal-ops.go

    	}
    
    	h.countScanned(healType)
    
    	if source.noWait {
    		select {
    		case globalBackgroundHealRoutine.tasks <- task:
    			if serverDebugLog {
    				fmt.Printf("Task in the queue: %#v\n", task)
    			}
    		default:
    			// task queue is full, no more workers, we shall move on and heal later.
    			return nil
    		}
    		// Don't wait for result
    		return nil
    	}
    
    	// respCh must be set to wait for result.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  6. internal/config/notify/help.go

    		},
    		config.HelpKV{
    			Key:         target.AmqpAutoDeleted,
    			Description: "auto delete queue when set to 'on', when there are no consumers",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.AmqpDeliveryMode,
    			Description: "set to '1' for non-persistent or '2' for persistent queue",
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 19.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

          return getImpl();
        }
      }
    
      private static class QueueSupplier extends CountingSupplier<Queue<Integer>> {
        @Override
        /*
         * We need a Queue that implements equals() for the equality tests we perform after
         * reserializing the multimap.
         */
        @SuppressWarnings("JdkObsolete")
        public Queue<Integer> getImpl() {
          return new LinkedList<>();
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * garbage-collected after that.
       */
    
      public static class MyFinalizableWeakReference extends FinalizableWeakReference<Object> {
        public MyFinalizableWeakReference(Object x, FinalizableReferenceQueue queue) {
          super(x, queue);
        }
    
        @Override
        public void finalizeReferent() {}
      }
    
      private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import java.util.List;
    import java.util.ListIterator;
    import java.util.Locale;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.PriorityQueue;
    import java.util.Queue;
    import java.util.Random;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import java.util.TreeMap;
    import java.util.TreeSet;
    import java.util.UUID;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are
       * polled and executed from a task queue until there are no more tasks. The thread will not be
       * released until there are no more tasks to run.
       *
       * <p>If a task is submitted while a thread is executing tasks from the task queue, the thread
       * will not be released until that submitted task is also complete.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
Back to Top