Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getDelay (0.12 seconds)

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

          return new ImmediateScheduledFuture<>(immediateFailedFuture(t));
        }
    
        ImmediateScheduledFuture(ListenableFuture<V> delegate) {
          super(delegate);
        }
    
        @Override
        public long getDelay(TimeUnit unit) {
          return 0;
        }
    
        @Override
        public int compareTo(Delayed other) {
          return 0;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          implements ScheduledFuture<V> {
        @Override
        protected Future<V> delegate() {
          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public long getDelay(TimeUnit unit) {
          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public int compareTo(Delayed other) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

          implements ScheduledFuture<V> {
        @Override
        protected Future<V> delegate() {
          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public long getDelay(TimeUnit unit) {
          throw new UnsupportedOperationException("test should not care about this");
        }
    
        @Override
        public int compareTo(Delayed other) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. 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(MILLISECONDS) + " ms]";
        }
        return null;
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private void addPendingString(StringBuilder builder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
Back to Top