Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isDaemon (0.37 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        Thread thread = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread, 1);
    
        Thread defaultThread = defaultThreadFactory().newThread(monitoredRunnable);
        assertEquals(defaultThread.isDaemon(), thread.isDaemon());
        assertEquals(defaultThread.getPriority(), thread.getPriority());
        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        Thread thread = threadFactory.newThread(monitoredRunnable);
        checkThreadPoolName(thread, 1);
    
        Thread defaultThread = defaultThreadFactory().newThread(monitoredRunnable);
        assertEquals(defaultThread.isDaemon(), thread.isDaemon());
        assertEquals(defaultThread.getPriority(), thread.getPriority());
        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final Crawler testCrawler = container.getComponent("crawler");
    
            assertFalse(testCrawler.isDaemon());
    
            testCrawler.setDaemon(true);
            assertTrue(testCrawler.isDaemon());
    
            testCrawler.setDaemon(false);
            assertFalse(testCrawler.isDaemon());
        }
    
        public void test_threadPriority() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            new ThreadPoolExecutor(1, 2, 3, SECONDS, new ArrayBlockingQueue<Runnable>(1));
        assertThat(application.getExitingExecutorService(executor)).isNotNull();
        assertTrue(executor.getThreadFactory().newThread(() -> {}).isDaemon());
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
      public void testGetExitingExecutorService_executorDelegatesToOriginal() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            new ThreadPoolExecutor(1, 2, 3, SECONDS, new ArrayBlockingQueue<Runnable>(1));
        assertThat(application.getExitingExecutorService(executor)).isNotNull();
        assertTrue(executor.getThreadFactory().newThread(() -> {}).isDaemon());
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
      public void testGetExitingExecutorService_executorDelegatesToOriginal() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            this.background = background;
        }
    
        /**
         * Checks if the crawler threads are daemon threads.
         * @return true if daemon threads, false otherwise.
         */
        public boolean isDaemon() {
            return daemon;
        }
    
        /**
         * Sets whether the crawler threads should be daemon threads.
         * @param daemon true to make threads daemon, false otherwise.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top