Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for finishToValueAndCloser (0.07 sec)

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

       *     operation is done
       */
      public void finishToValueAndCloser(
          ValueAndCloserConsumer<? super V> consumer, Executor executor) {
        checkNotNull(consumer);
        if (!compareAndUpdateState(OPEN, WILL_CREATE_VALUE_AND_CLOSER)) {
          switch (state.get()) {
            case SUBSUMED:
              throw new IllegalStateException(
                  "Cannot call finishToValueAndCloser() after deriving another step");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     operation is done
       */
      public void finishToValueAndCloser(
          ValueAndCloserConsumer<? super V> consumer, Executor executor) {
        checkNotNull(consumer);
        if (!compareAndUpdateState(OPEN, WILL_CREATE_VALUE_AND_CLOSER)) {
          switch (state.get()) {
            case SUBSUMED:
              throw new IllegalStateException(
                  "Cannot call finishToValueAndCloser() after deriving another step");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link ClosingFuture}. Subclasses exercise either the {@link
     * ClosingFuture#finishToFuture()} or {@link
     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)} paths to complete a
     * {@link ClosingFuture} pipeline.
     */
    @NullUnmarked
    public abstract class AbstractClosingFutureTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
Back to top