- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 52 for CacheBuilder (0.1 sec)
-
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
CacheBuilderFactory factory = factoryWithAllKeyStrengths(); return Iterables.transform( factory.buildAllPermutations(), new Function<CacheBuilder<Object, Object>, LoadingCache<Key, String>>() { @Override public LoadingCache<Key, String> apply(CacheBuilder<Object, Object> builder) { return builder.build(KEY_TO_STRING_LOADER); } }); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
import org.codelibs.fess.crawler.util.XPathAPI; import org.codelibs.nekohtml.parsers.DOMParser; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.xml.sax.InputSource; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import jakarta.annotation.Resource; /** * @author shinsuke * */
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComputationException.java
* thrown by {@link MapMaker} computing maps. When support for computing maps was removed from * {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code * ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any * code that is still catching {@code ComputationException} may need to be updated to catch some
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 04 13:28:27 UTC 2021 - 1.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
private @Nullable ReferenceEntry<Object, Object> chain; @SuppressWarnings("GuardedBy") @BeforeExperiment void setUp() { LocalCache<Object, Object> cache = new LocalCache<>(CacheBuilder.newBuilder().concurrencyLevel(1), null); segment = cache.segments[0]; chain = null; for (int i = 0; i < length; i++) { Object key = new Object();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
private @Nullable ReferenceEntry<Object, Object> chain; @SuppressWarnings("GuardedBy") @BeforeExperiment void setUp() { LocalCache<Object, Object> cache = new LocalCache<>(CacheBuilder.newBuilder().concurrencyLevel(1), null); segment = cache.segments[0]; chain = null; for (int i = 0; i < length; i++) { Object key = new Object();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java
int capacity; private Segment<Object, Object> segment; @BeforeExperiment void setUp() { LocalCache<Object, Object> cache = new LocalCache<>( CacheBuilder.newBuilder().concurrencyLevel(1).initialCapacity(capacity), null); checkState(cache.segments.length == 1); segment = cache.segments[0]; checkState(segment.table.length() == capacity);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 23 16:59:39 UTC 2019 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
import org.codelibs.fess.crawler.entity.UrlQueue; import org.codelibs.fess.taglib.FessFunctions; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.optional.OptionalThing; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; /** * @author shinsuke * */
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/RemovalNotification.java
/** * A notification of the removal of a single entry. The key and/or value may be null if they were * already garbage collected. * * <p>Like other {@code Entry} instances associated with {@code CacheBuilder}, this class holds * strong references to the key and value, regardless of the type of references the cache may be * using. * * @author Charles Fry * @since 10.0 */ @GwtCompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 20:46:24 UTC 2022 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java
public class CacheRefreshTest extends TestCase { public void testAutoRefresh() { FakeTicker ticker = new FakeTicker(); IncrementingLoader loader = incrementingLoader(); LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() .refreshAfterWrite(3, MILLISECONDS) .expireAfterWrite(6, MILLISECONDS) .lenientParsing() .ticker(ticker) .build(loader);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
// random integers will be generated in this range, then raised to the // power of (1/concentration) and floor()ed max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); cache = CacheBuilder.newBuilder() .concurrencyLevel(segments) .maximumSize(maximumSize) .build( new CacheLoader<Integer, Integer>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0)