Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testThreadRenaming (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        assertThat(factory).isNotNull();
        // Executors#defaultThreadFactory() may return a new instance each time.
        assertEquals(factory.getClass(), Executors.defaultThreadFactory().getClass());
      }
    
      public void testThreadRenaming() {
        Executor renamingExecutor =
            renamingDecorator(newDirectExecutorService(), Suppliers.ofInstance("FooBar"));
        String oldName = Thread.currentThread().getName();
        renamingExecutor.execute(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
Back to Top