- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 154 for Synchronized (0.2 sec)
-
guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } /* * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator: * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers * are responsible for taking the mutex themselves:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
* // do other things since the monitor was not available * } * } * * <h2>Comparison with {@code synchronized} and {@code ReentrantLock}</h2> * * <p>The following examples show a simple threadsafe holder expressed using {@code synchronized}, * {@link ReentrantLock}, and {@code Monitor}. * * <h3>{@code synchronized}</h3> * * <p>This version is the fewest lines of code, largely because the synchronization mechanism used
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
.suppressing(suppressForEnumSet()) .createTestSuite(); } /** * Tests regular NavigableSet behavior of synchronizedNavigableSet(treeSet); does not test the * fact that it's synchronized. */ public Test testsForSynchronizedNavigableSet() { return NavigableSetTestSuiteBuilder.using( new TestStringSortedSetGenerator() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/QueryRescorerTest.java
} } public void test_evaluate_concurrency() { queryRescorer = new QueryRescorer() { private int callCount = 0; @Override public synchronized RescorerBuilder<?> evaluate(Map<String, Object> params) { callCount++; if (callCount % 2 == 0) { return createMockRescorerBuilder(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
* Provides utility methods for URL processing, site extraction, data mapping, * and field configuration handling during the document transformation process. */ public interface FessTransformer { /** * Synchronized LRU cache for storing parent URL encodings. * Maps session+parent URL keys to their corresponding character encodings. */ Map<String, String> parentEncodingMap = Collections.synchronizedMap(new LruHashMap<>(1000));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
* @param path The path to match. * @return A set of matched label values. */ public Set<String> getMatchedLabelValueSet(final String path) { if (labelTypePatternList == null) { synchronized (this) { if (labelTypePatternList == null) { buildLabelTypePatternList(ComponentUtil.getComponent(LabelTypeService.class).getLabelTypeList()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
} destroyContainer(); } System.exit(exitCode); } private static void destroyContainer() { TimeoutManager.getInstance().stop(); synchronized (SingletonLaContainerFactory.class) { SingletonLaContainerFactory.destroy(); } } private static int process(final Options options) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java
if (pattern.matcher(input).matches()) { return Constants.FALSE; } } return Constants.TRUE; } protected synchronized void initDocUrlPattern() { final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); if (includedDocUrlPatterns == null) { if (StringUtil.isNotBlank(getIncludedDocUrls())) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.9K bytes - Viewed (0)