Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getDelay (0.64 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

            return new NeverScheduledFuture<>();
          }
    
          @Override
          public long getDelay(TimeUnit unit) {
            return Long.MAX_VALUE;
          }
    
          @Override
          public int compareTo(Delayed other) {
            return Longs.compare(getDelay(NANOSECONDS), other.getDelay(NANOSECONDS));
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

            return new NeverScheduledFuture<>();
          }
    
          @Override
          public long getDelay(TimeUnit unit) {
            return Long.MAX_VALUE;
          }
    
          @Override
          public int compareTo(Delayed other) {
            return Longs.compare(getDelay(NANOSECONDS), other.getDelay(NANOSECONDS));
          }
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:12:37 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

              // TODO(user): Cancel "this" if "scheduledDelegate" is cancelled.
            }
            return cancelled;
          }
    
          @Override
          public long getDelay(TimeUnit unit) {
            return scheduledDelegate.getDelay(unit);
          }
    
          @Override
          public int compareTo(Delayed other) {
            return scheduledDelegate.compareTo(other);
          }
        }
    
        @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/MoreExecutors.java

              // TODO(user): Cancel "this" if "scheduledDelegate" is cancelled.
            }
            return cancelled;
          }
    
          @Override
          public long getDelay(TimeUnit unit) {
            return scheduledDelegate.getDelay(unit);
          }
    
          @Override
          public int compareTo(Delayed other) {
            return scheduledDelegate.compareTo(other);
          }
        }
    
        @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // TODO(diamondm) consider moving this into addPendingString so it's always in the output
        if (this instanceof ScheduledFuture) {
          return "remaining delay=["
              + ((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)
              + " ms]";
        }
        return null;
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private void addPendingString(StringBuilder builder) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // TODO(diamondm) consider moving this into addPendingString so it's always in the output
        if (this instanceof ScheduledFuture) {
          return "remaining delay=["
              + ((ScheduledFuture) this).getDelay(TimeUnit.MILLISECONDS)
              + " ms]";
        }
        return null;
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private void addPendingString(StringBuilder builder) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (0)
Back to top