Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 467 for runnable (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

    import org.codelibs.fess.crawler.util.CrawlingParameterUtil;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     *
     */
    public class CrawlerThread implements Runnable {
    
        @Resource
        protected UrlQueueService<UrlQueue<?>> urlQueueService;
    
        @Resource
        protected DataService<AccessResult<?>> dataService;
    
        @Resource
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        Service service =
            new TestService() {
              @Override
              protected Executor executor() {
                return new Executor() {
                  @Override
                  public void execute(Runnable command) {}
                };
              }
    
              @Override
              protected String serviceName() {
                return "Foo";
              }
            };
        TimeoutException e =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

            T,
            E>
        extends FeatureSpecificTestSuiteBuilder<B, G> {
      private static final Logger logger =
          Logger.getLogger(PerCollectionSizeTestSuiteBuilder.class.getName());
    
      /** Creates a runnable JUnit test suite based on the criteria already given. */
      @Override
      public TestSuite createTestSuite() {
        checkCanCreate();
    
        String name = getName();
        // Copy this set, so we can modify it.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        final AtomicInteger actualOccupiedDepth = new AtomicInteger();
        final AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      actualIsOccupied.set(monitor.isOccupied());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        final AtomicInteger actualOccupiedDepth = new AtomicInteger();
        final AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      actualIsOccupied.set(monitor.isOccupied());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        }
        bloomFilter.put(GOLDEN_PRESENT_KEY);
    
        int numThreads = 12;
        final double safetyFalsePositiveRate = 0.1;
        final Stopwatch stopwatch = Stopwatch.createStarted();
    
        Runnable task =
            new Runnable() {
              @Override
              public void run() {
                do {
                  // We can't have a GOLDEN_NOT_PRESENT_KEY because false positives are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

          this.adapterExecutor = checkNotNull(adapterExecutor);
        }
    
        @Override
        protected Future<V> delegate() {
          return delegate;
        }
    
        @Override
        public void addListener(Runnable listener, Executor exec) {
          executionList.add(listener, exec);
    
          // When a listener is first added, we run a task that will wait for the delegate to finish,
          // and when it is done will run the listeners.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(ConcurrentMap.class).isEmpty());
        assertTrue(ArbitraryInstances.get(ConcurrentNavigableMap.class).isEmpty());
        ArbitraryInstances.get(Executor.class).execute(ArbitraryInstances.get(Runnable.class));
        assertNotNull(ArbitraryInstances.get(ThreadFactory.class));
        assertFreshInstanceReturned(
            BlockingQueue.class,
            BlockingDeque.class,
            PriorityBlockingQueue.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = Executors.newCachedThreadPool();
    
        task.addListener(
            new Runnable() {
              @Override
              public void run() {
                listenerLatch.countDown();
              }
            },
            directExecutor());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * <p>This class is very similar to {@link SequentialExecutor} with the exception that events can
       * be added without necessarily executing immediately.
       */
      private static final class PerListenerQueue<L> implements Runnable {
        final L listener;
        final Executor executor;
    
        @GuardedBy("this")
        final Queue<ListenerCallQueue.Event<L>> waitQueue = Queues.newArrayDeque();
    
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
Back to top