Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for InvalidCacheLoadException (0.36 sec)

  1. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/NullCacheTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener;
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import junit.framework.TestCase;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Thrown to indicate that an invalid response was returned from a call to {@link CacheLoader}.
       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
        public InvalidCacheLoadException(String message) {
          super(message);
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Thrown to indicate that an invalid response was returned from a call to {@link CacheLoader}.
       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
        public InvalidCacheLoadException(String message) {
          super(message);
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

    import com.google.common.cache.AbstractCache.StatsCounter;
    import com.google.common.cache.CacheBuilder.NullListener;
    import com.google.common.cache.CacheBuilder.OneWeigher;
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException;
    import com.google.common.collect.AbstractSequentialIterator;
    import com.google.common.collect.ImmutableMap;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

    import com.google.common.cache.AbstractCache.StatsCounter;
    import com.google.common.cache.CacheBuilder.NullListener;
    import com.google.common.cache.CacheBuilder.OneWeigher;
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException;
    import com.google.common.cache.LocalCache.AbstractCacheSet;
    import com.google.common.collect.AbstractSequentialIterator;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          throw new ExecutionError(e);
        }
    
        if (calculatedValue == null) {
          String message = loader + " returned null for key " + key + ".";
          throw new CacheLoader.InvalidCacheLoadException(message);
        }
        statsCounter.recordLoadSuccess(ticker.read() - startTime);
        return calculatedValue;
      }
    
      private V getIfPresent(Object key) {
        checkNotNull(key);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top