- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for InvalidCacheLoadException (0.76 seconds)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThrows(InvalidCacheLoadException.class, () -> cache.get(new Object())); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(1); assertThat(stats.loadSuccessCount()).isEqualTo(0); assertThat(stats.loadExceptionCount()).isEqualTo(1); assertThat(stats.hitCount()).isEqualTo(0); assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object()));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
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); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThrows(InvalidCacheLoadException.class, () -> cache.get(new Object())); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(1); assertThat(stats.loadSuccessCount()).isEqualTo(0); assertThat(stats.loadExceptionCount()).isEqualTo(1); assertThat(stats.hitCount()).isEqualTo(0); assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object()));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 4.6K bytes - Click Count (0) -
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); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
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 @Nullable V getIfPresent(Object key) { checkNotNull(key);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0)