Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 237 for Runnables (0.06 seconds)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        }
        bloomFilter.put(GOLDEN_PRESENT_KEY);
    
        int numThreads = 12;
        double safetyFalsePositiveRate = 0.1;
        Stopwatch stopwatch = Stopwatch.createStarted();
    
        Runnable task =
            () -> {
              do {
                // We can't have a GOLDEN_NOT_PRESENT_KEY because false positives are
                // possible! It's false negatives that can't happen.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

            registerMockJobManager(jobId, withParamsCallback, null);
        }
    
        private void registerMockJobManager(final String jobId, final LaunchNowWithParamsCallback withParamsCallback,
                final Runnable noArgCallback) {
            final LaScheduledJob mockLaJob = new MockLaScheduledJob() {
                @Override
                public LaunchedProcess launchNow() {
                    if (noArgCallback != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                        .lookup
                        .lookupMap(org.apache.maven.cling.invoker.mvnup.Goal.class)
                        .keySet())));
            }
        }
    
        private static class StreamGobbler implements Runnable {
            private final InputStream inputStream;
            private final Consumer<String> consumer;
    
            private StreamGobbler(InputStream inputStream, Consumer<String> consumer) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                Thread webFsCrawlerThread = null;
                Thread dataCrawlerThread = null;
    
                if (runAll || webConfigIdList != null || fileConfigIdList != null) {
                    webFsCrawlerThread = new Thread((Runnable) () -> {
                        // crawl web
                        writeTimeToSessionInfo(crawlingInfoHelper, Constants.WEB_FS_CRAWLER_START_TIME);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        /** An array of supported language codes. */
        protected String[] supportedLanguages;
    
        /** A list of shutdown hooks to be executed on system shutdown. */
        protected List<Runnable> shutdownHookList = new ArrayList<>();
    
        /** The previous state of the cluster. */
        protected AtomicInteger previousClusterState = new AtomicInteger(0);
    
        /** The version of the Fess application. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  6. docs/contribute/concurrency.md

    #### Do-stuff-later pool
    
    Sometimes there's an action required like calling the application layer or responding to a ping, and the thread discovering the action is not the thread that should do the work. We enqueue a runnable on this executor and it gets handled by one of the executor's threads.
    
    ### Locks
    
    We have 3 different things that we synchronize on.
    
    #### Http2Connection
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/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 {
    
        /**
         * Default constructor for Transport.
         */
        public Transport() {
            // Default constructor
        }
    
        static int id = 0;
        static LogStream log = LogStream.getInstance();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * more than 2 per second:
     *
     * {@snippet :
     * 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);
     *   }
     * }
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    @SuppressWarnings("ShortCircuitBoolean")
    abstract class AbstractTransformFuture<
            I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
        extends FluentFuture.TrustedFuture<O> implements Runnable {
      static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> createAsync(
          ListenableFuture<I> input,
          AsyncFunction<? super I, ? extends O> function,
          Executor executor) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/QueuesTest.java

              q.put(new Object());
            }
            return null;
          } finally {
            doneProducing.countDown();
          }
        }
      }
    
      private static class Interrupter implements Runnable {
        final Thread threadToInterrupt;
    
        Interrupter(Thread threadToInterrupt) {
          this.threadToInterrupt = threadToInterrupt;
        }
    
        @Override
        public void run() {
          try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top