Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 461 for ejecute (0.08 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          if (executeImmediate) {
            new RunnableExecutorPair(runnable, executor).execute();
          }
        }
    
        void execute() {
          synchronized (runnables) {
            if (executed) {
              return;
            }
            executed = true;
          }
    
          while (!runnables.isEmpty()) {
            runnables.poll().execute();
          }
        }
    
        private static class RunnableExecutorPair {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            Object result = jobExecutor.execute("javascript", "console.log('test')");
            assertEquals("Executed: javascript console.log('test')", result);
    
            result = jobExecutor.execute("python", "print('test')");
            assertEquals("Executed: python print('test')", result);
    
            result = jobExecutor.execute("groovy", "println 'test'");
            assertEquals("Executed: groovy println 'test'", result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/events.md

    # Lifespan Events { #lifespan-events }
    
    You can define logic (code) that should be executed before the application **starts up**. This means that this code will be executed **once**, **before** the application **starts receiving requests**.
    
    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        /** Flag indicating whether the results are partial due to timeout or other issues. */
        protected boolean partialResults;
    
        /** The actual search query executed against the search engine. */
        protected String searchQuery;
    
        /** Time taken to execute the search query in milliseconds. */
        protected long queryTime;
    
        /** Timestamp when the search request was made. */
        protected long requestedTime;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

                runCalled.getAndIncrement();
              }
            },
            directExecutor());
        Runnable execute =
            new Runnable() {
              @Override
              public void run() {
                list.execute();
              }
            };
        Thread thread1 = new Thread(execute);
        Thread thread2 = new Thread(execute);
        thread1.start();
        thread2.start();
        assertEquals(0, runCalled.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            ScoreUpdater updater = new ScoreUpdater();
            assertNotNull(updater);
        }
    
        // Test execute with empty list
        public void test_execute_emptyList() {
            String result = scoreUpdater.execute();
            assertEquals("", result);
        }
    
        // Test execute with single booster
        public void test_execute_singleBooster() {
            TestScoreBooster booster = new TestScoreBooster(100L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

        return new NoOpScheduledExecutorService();
      }
    
      /**
       * Creates a scheduled executor service that runs each task in the thread that invokes {@code
       * execute/submit/schedule}, as in {@link CallerRunsPolicy}. This applies both to individually
       * submitted tasks and to collections of tasks submitted via {@code invokeAll}, {@code invokeAny},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

        protected CommonPoolUtil() {
            // nothing
        }
    
        /**
         * Executes the given task in the common ForkJoinPool.
         *
         * @param task
         *            the task to execute
         */
        public static void execute(final Runnable task) {
            ForkJoinPool.commonPool().execute(() -> {
                final Thread currentThread = Thread.currentThread();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                final ActionType<Response> action, final Request request) {
            return client.execute(action, request);
        }
    
        /**
         * Executes an action asynchronously with a callback.
         *
         * @param <Request>  the request type
         * @param <Response> the response type
         * @param action     the action to execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

                runCalled.getAndIncrement();
              }
            },
            directExecutor());
        Runnable execute =
            new Runnable() {
              @Override
              public void run() {
                list.execute();
              }
            };
        Thread thread1 = new Thread(execute);
        Thread thread2 = new Thread(execute);
        thread1.start();
        thread2.start();
        assertEquals(0, runCalled.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top