- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 344 for synchronized (0.07 seconds)
-
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
} @Test public void test_crawlerList_synchronization() { // Test that the crawler list is synchronized List<org.codelibs.fess.crawler.Crawler> crawlerList = webFsIndexHelper.crawlerList; assertTrue(crawlerList.getClass().getName().contains("Synchronized")); } @Test public void test_defaultValues() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 15.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java
@Override public DefaultSettingsBuildingRequest setSystemProperties(Properties systemProperties) { if (systemProperties != null) { this.systemProperties = new Properties(); synchronized (systemProperties) { // avoid concurrent modification if someone else sets/removes an unrelated // system property this.systemProperties.putAll(systemProperties); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
} enumConstantCache.put(enumClass, result); return result; } static <T extends Enum<T>> Map<String, WeakReference<? extends Enum<?>>> getEnumConstants( Class<T> enumClass) { synchronized (enumConstantCache) { Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass); if (constants == null) { constants = populateCache(enumClass); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* * @param bimap the bimap to be wrapped in a synchronized view * @return a synchronized view of the specified bimap */ @J2ktIncompatible // Synchronized public static <K extends @Nullable Object, V extends @Nullable Object> BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) { return Synchronized.biMap(bimap, null); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java
*/ private final int priority; /** * Parses the phase identifier. * * @param phase the phase identifier. * @return the {@link PhaseId}. */ public static synchronized PhaseId of(String phase) { return INSTANCES.computeIfAbsent(phase, PhaseId::new); } /** * Constructor. * * @param phase the phase identifier string. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java
/** * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") class Graph { final Map<String, Set<String>> graph = new LinkedHashMap<>(); synchronized void addEdge(String from, String to) throws CycleDetectedException { if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
private TearDownStack buildTearDownStack() { TearDownStack result = new TearDownStack(); tearDownStack.addTearDown( () -> { synchronized (result.lock) { assertEquals( "The test should have cleared the stack (say, by virtue of running runTearDown)", 0, result.stack.size()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/log/Logger.java
/** * Returns a {@link Logger}. * * @param clazz * Class to be used as the logger category. Must not be {@literal null}. * @return {@link Logger} */ public static synchronized Logger getLogger(final Class<?> clazz) { assertArgumentNotNull("clazz", clazz); if (!initialized) { initialize(); } Logger logger = loggers.get(clazz);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.5K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
abstract val fileSystemOperations: FileSystemOperations private var hasCleaned = false val logger = Logging.getLogger(CachesCleaner::class.java) fun cleanUpCaches() { synchronized(this) { if (hasCleaned) { return } logger.lifecycle("Cleaning up caches...") val homeDir = parameters.homeDir.get()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.2K bytes - Click Count (1)