Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toNanosSaturated (0.23 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

      })
      @IgnoreJRERequirement // No more dangerous than wherever the caller got the Duration from
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> expireAfterWrite(Duration duration) {
        return expireAfterWrite(toNanosSaturated(duration), NANOSECONDS);
      }
    
      /**
       * Specifies that each entry should be automatically removed from the cache once a fixed duration
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.Internal.toNanosSaturated;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    import static java.util.Objects.requireNonNull;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

      @GwtIncompatible // Duration
      @SuppressWarnings("GoodTime") // Duration decomposition
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> expireAfterWrite(Duration duration) {
        return expireAfterWrite(toNanosSaturated(duration), NANOSECONDS);
      }
    
      /**
       * Specifies that each entry should be automatically removed from the cache once a fixed duration
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Futures.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.Internal.toNanosSaturated;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    import static java.util.Objects.requireNonNull;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
Back to top