Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SequentialExecutor (0.34 sec)

  1. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.IDLE;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.QUEUED;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.QUEUING;
    import static com.google.common.util.concurrent.SequentialExecutor.WorkerRunningState.RUNNING;
    import static java.lang.System.identityHashCode;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
      public void setUp() {
        fakePool = new FakeExecutor();
        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          }
        }
      }
    
      private FakeExecutor fakePool;
      private SequentialExecutor e;
    
      @Override
      public void setUp() {
        fakePool = new FakeExecutor();
        e = new SequentialExecutor(fakePool);
      }
    
      public void testConstructingWithNullExecutor_fails() {
        assertThrows(NullPointerException.class, () -> new SequentialExecutor(null));
      }
    
      public void testBasics() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       * A special purpose queue/executor that dispatches listener events serially on a configured
       * executor. Each event can be added and dispatched as separate phases.
       *
       * <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;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * Executors#newSingleThreadExecutor}).
       *
       * @since 23.3 (since 23.1 as {@code sequentialExecutor})
       */
      @J2ktIncompatible
      @GwtIncompatible
      public static Executor newSequentialExecutor(Executor delegate) {
        return new SequentialExecutor(delegate);
      }
    
      /**
       * Creates an {@link ExecutorService} whose {@code submit} and {@code invokeAll} methods submit
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top