Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkAndUpdateState (0.7 sec)

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

        if (compareAndUpdateState(OPEN, WILL_CLOSE)) {
          logger.get().log(FINER, "will close {0}", this);
          future.addListener(
              () -> {
                checkAndUpdateState(WILL_CLOSE, CLOSING);
                close();
                checkAndUpdateState(CLOSING, CLOSED);
              },
              directExecutor());
        } else {
          switch (state.get()) {
            case SUBSUMED:
    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

        if (compareAndUpdateState(OPEN, WILL_CLOSE)) {
          logger.get().log(FINER, "will close {0}", this);
          future.addListener(
              () -> {
                checkAndUpdateState(WILL_CLOSE, CLOSING);
                close();
                checkAndUpdateState(CLOSING, CLOSED);
              },
              directExecutor());
        } else {
          switch (state.get()) {
            case SUBSUMED:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
Back to top