Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WrappingExecutorService (0.14 sec)

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

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Test for {@link WrappingExecutorService}
     *
     * @author Chris Nokleberg
     */
    public class WrappingExecutorServiceTest extends TestCase {
      private static final String RESULT_VALUE = "ran";
      // Uninteresting delegations
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /**
     * Test for {@link WrappingExecutorService}
     *
     * @author Chris Nokleberg
     */
    public class WrappingExecutorServiceTest extends TestCase {
      private static final String RESULT_VALUE = "ran";
      // Uninteresting delegations
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

      static ExecutorService renamingDecorator(
          final ExecutorService service, final Supplier<String> nameSupplier) {
        checkNotNull(service);
        checkNotNull(nameSupplier);
        return new WrappingExecutorService(service) {
          @Override
          protected <T extends @Nullable Object> Callable<T> wrapTask(Callable<T> callable) {
            return Callables.threadRenaming(callable, nameSupplier);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top