Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for GoodTime (0.24 sec)

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

      @CheckForNull Strength keyStrength;
      @CheckForNull Strength valueStrength;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterWriteNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterAccessNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long refreshNanos = UNSET_INT;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
      public FakeTicker advance(long time, TimeUnit timeUnit) {
        return advance(timeUnit.toNanos(time));
      }
    
      /** Advances the ticker value by {@code nanoseconds}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

      @CheckForNull Strength keyStrength;
      @CheckForNull Strength valueStrength;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterWriteNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long expireAfterAccessNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      long refreshNanos = UNSET_INT;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *     JVM
       * @param timeUnit unit of time for the time parameter
       * @return an unmodifiable version of the input which will not hang the JVM
       */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static ExecutorService getExitingExecutorService(
          ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Suppliers.java

       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 2.0
       */
      @SuppressWarnings("GoodTime") // Prefer the Duration overload
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      }
    
      @SuppressWarnings("GoodTime")
      private long currentTimeNanos() {
        return ticker.read();
      }
    
      private void alertListenerIfPresent(K key, V value, RemovalCause cause) {
        if (removalListener != null) {
          removalListener.onRemoval(RemovalNotification.create(key, value, cause));
        }
      }
    
      @SuppressWarnings("GoodTime") // timestamps as numeric primitives
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

       * @param unit the unit that {@code duration} is expressed in
       * @throws IllegalArgumentException if {@code duration} is not positive
       * @since 2.0
       */
      @SuppressWarnings("GoodTime") // Prefer the Duration overload
      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, long duration, TimeUnit unit) {
        checkNotNull(delegate);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Queues.java

       * @throws InterruptedException if interrupted while waiting
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // BlockingQueue
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static <E> int drain(
          BlockingQueue<E> q,
          Collection<? super E> buffer,
          int numElements,
          long timeout,
          TimeUnit unit)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 23.0
       */
      @J2ktIncompatible
      @GwtIncompatible // java.util.concurrent.ScheduledExecutorService
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      // TODO(cpovirk): Return ListenableScheduledFuture?
      public static <O extends @Nullable Object> ListenableFuture<O> scheduleAsync(
          AsyncCallable<O> callable,
          long delay,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * the same name.
       *
       * @param file the file to create or update
       * @throws IOException if an I/O error occurs
       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top