Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for platformThreadFactory (0.22 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * it returns {@link Executors#defaultThreadFactory()}.
       *
       * @since 14.0
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static ThreadFactory platformThreadFactory() {
        if (!isAppEngineWithApiClasses()) {
          return defaultThreadFactory();
        }
        try {
          return (ThreadFactory)
              Class.forName("com.google.appengine.api.ThreadManager")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        application.shutdown();
        verify(executor).shutdown();
      }
    
      public void testPlatformThreadFactory_default() {
        ThreadFactory factory = MoreExecutors.platformThreadFactory();
        assertThat(factory).isNotNull();
        // Executors#defaultThreadFactory() may return a new instance each time.
        assertEquals(factory.getClass(), Executors.defaultThreadFactory().getClass());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        application.shutdown();
        verify(executor).shutdown();
      }
    
      public void testPlatformThreadFactory_default() {
        ThreadFactory factory = MoreExecutors.platformThreadFactory();
        assertThat(factory).isNotNull();
        // Executors#defaultThreadFactory() may return a new instance each time.
        assertEquals(factory.getClass(), Executors.defaultThreadFactory().getClass());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
Back to top