Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 464 for Runnable (0.11 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            thumbnailTaskQueue = new LinkedBlockingQueue<>(thumbnailTaskQueueSize);
            generating = !Constants.TRUE.equalsIgnoreCase(System.getProperty("fess.thumbnail.process"));
            thumbnailQueueThread = new Thread((Runnable) () -> {
                final List<Tuple3<String, String, String>> taskList = new ArrayList<>();
                while (generating) {
                    try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/RateLimiter.java

     * more than 2 per second:
     *
     * <pre>{@code
     * final RateLimiter rateLimiter = RateLimiter.create(2.0); // rate is "2 permits per second"
     * void submitTasks(List<Runnable> tasks, Executor executor) {
     *   for (Runnable task : tasks) {
     *     rateLimiter.acquire(); // may wait
     *     executor.execute(task);
     *   }
     * }
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        public Deferred<SuggestIndexResponse>.Promise indexFromDocument(final Supplier<DocumentReader> reader, final int docPerReq,
                final Runnable waitController) {
            if (logger.isInfoEnabled()) {
                logger.info("Start index by DocumentReader. docPerReq: {}", docPerReq);
            }
            final Deferred<SuggestIndexResponse> deferred = new Deferred<>();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    public abstract class Transport implements Runnable, AutoCloseable {
    
        private static int id = 0;
        private static final Logger log = LoggerFactory.getLogger(Transport.class);
    
    
        /**
         * Read bytes from the input stream into a buffer
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        assertThat(a4.isExecuted()).isFalse()
        assertThat(a4.isCanceled()).isFalse()
      }
    
      @Test
      fun idleCallbackInvokedWhenIdle() {
        val idle = AtomicBoolean()
        dispatcher.idleCallback = Runnable { idle.set(true) }
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://a/2")).enqueue(callback)
        executor.finishJob("http://a/1")
        assertThat(idle.get()).isFalse()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                return MORE_SPECIFIC;
            }
    
            if (c2MoreSpecific) {
                return LESS_SPECIFIC;
            }
    
            // Incomparable due to non-related arguments (i.e.
            // foo(Runnable) vs. foo(Serializable))
            return INCOMPARABLE;
        }
    
        /**
         * Returns all methods that are applicable to actual argument types.
         *
         * @param methods list of all candidate methods
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError =
            executor.submit(
                new Runnable() {
                  @Override
                  public void run() {
                    boolean createSymlink = false;
                    while (!Thread.interrupted()) {
                      try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MoreFilesTest.java

        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError =
            executor.submit(
                new Runnable() {
                  @Override
                  public void run() {
                    boolean createSymlink = false;
                    while (!Thread.interrupted()) {
                      try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      public FluentFuture<V> finishToFuture() {
        if (compareAndUpdateState(OPEN, WILL_CLOSE)) {
          logger.get().log(FINER, "will close {0}", this);
          future.addListener(
              new Runnable() {
                @Override
                public void run() {
                  checkAndUpdateState(WILL_CLOSE, CLOSING);
                  close();
                  checkAndUpdateState(CLOSING, CLOSED);
                }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          ImmutableCollection<? extends Future<? extends InputT>> localFuturesOrNull =
              collectsValues ? localFutures : null;
          Runnable listener = () -> decrementCountAndMaybeComplete(localFuturesOrNull);
          for (ListenableFuture<? extends InputT> future : localFutures) {
            if (future.isDone()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top