Home
last modified time | relevance | path

Searched refs:bulkLoader (Results 1 – 4 of 4) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/cache/
DTestingCacheLoaders.java40 static <K, V> CacheLoader<K, V> bulkLoader(final CacheLoader<K, V> loader) { in bulkLoader() method in TestingCacheLoaders
DCacheLoadingTest.java17 import static com.google.common.cache.TestingCacheLoaders.bulkLoader;
380 CacheLoader<Integer, Integer> loader = bulkLoader(backingLoader); in testBulkLoad_loadAll()
824 CacheBuilder.newBuilder().recordStats().build(bulkLoader(constantLoader(null))); in testBulkLoadNull()
1114 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadError()
1439 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadCheckedException()
1463 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadInterruptedException()
1713 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadUncheckedException()
1922 CacheBuilder.newBuilder().build(bulkLoader(exceptionLoader(uee))); in testBulkLoadingExceptionWithCause()
1924 CacheBuilder.newBuilder().build(bulkLoader(exceptionLoader(ee))); in testBulkLoadingExceptionWithCause()
/external/guava/guava-tests/test/com/google/common/cache/
DTestingCacheLoaders.java40 static <K, V> CacheLoader<K, V> bulkLoader(final CacheLoader<K, V> loader) { in bulkLoader() method in TestingCacheLoaders
DCacheLoadingTest.java17 import static com.google.common.cache.TestingCacheLoaders.bulkLoader;
380 CacheLoader<Integer, Integer> loader = bulkLoader(backingLoader); in testBulkLoad_loadAll()
824 CacheBuilder.newBuilder().recordStats().build(bulkLoader(constantLoader(null))); in testBulkLoadNull()
1114 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadError()
1439 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadCheckedException()
1463 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadInterruptedException()
1713 CacheBuilder.newBuilder().recordStats().build(bulkLoader(loader)); in testBulkLoadUncheckedException()
1922 CacheBuilder.newBuilder().build(bulkLoader(exceptionLoader(uee))); in testBulkLoadingExceptionWithCause()
1924 CacheBuilder.newBuilder().build(bulkLoader(exceptionLoader(ee))); in testBulkLoadingExceptionWithCause()