- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for ConcurrentHashMap (0.24 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
ConcurrentHashMap<Object, Supplier<?>> cache; RepositoryCache repositoryCache = session != null ? session.getCache() : null; if (repositoryCache == null) { return new DefaultModelCache(new ConcurrentHashMap<>()); } else { if (anew) { cache = new ConcurrentHashMap<>(); repositoryCache.put(session, KEY, cache);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 6.8K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
val rootProjectDir: DirectoryProperty } @get:Inject abstract val execOperations: ExecOperations private val suspiciousDaemons = ConcurrentHashMap<String, MutableSet<String>>() private val daemonPids = ConcurrentHashMap.newKeySet<String>() private val logger = Logging.getLogger(DaemonTracker::class.java) override fun close() {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 3.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java
final ModelProcessor modelLocator; final Map<String, String> userProperties = new ConcurrentHashMap<>(); final Map<Path, Holder> modelByPath = new ConcurrentHashMap<>(); final Map<GAKey, Holder> modelByGA = new ConcurrentHashMap<>(); public static class Holder { private volatile boolean set; private volatile Model model; Holder() {}
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
private final TypeRegistry typeRegistry; private final ConcurrentHashMap<String, ArtifactHandler> allHandlers; @Inject public DefaultArtifactHandlerManager(TypeRegistry typeRegistry) { this.typeRegistry = requireNonNull(typeRegistry, "null typeRegistry"); this.allHandlers = new ConcurrentHashMap<>(); } @Override public void onEvent(Object event) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 3.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java
import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import org.apache.maven.api.model.Model; /** * Holds all Models that are known to the reactor. This allows the project builder to resolve imported Models from the * reactor when building another project's effective model. * */ class ReactorModelPool { private final Map<GAKey, Set<Model>> modelsByGa = new ConcurrentHashMap<>();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
* * @since 3.0 */ @Named @Singleton public class DefaultPluginDescriptorCache implements PluginDescriptorCache { private Map<Key, PluginDescriptor> descriptors = new ConcurrentHashMap<>(128); private Map<Key, Key> keys = new ConcurrentHashMap<>(); public void flush() { descriptors.clear(); } public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java
private static final String TEST_KEY = "test key"; private static final String TEST_VALUE = "test value"; // Non-loading versions: private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); private final Cache<Object, Object> cacheNoStats = CacheBuilder.newBuilder().build(); @BeforeExperiment void setUp() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
} /** * 指定されたキーと値を持つ{@link ConcurrentHashMap}を構築するための{@literal Maps}を返します。 * * @param <KEY> * <code>Map</code>のキーの型 * @param <VALUE> * <code>Map</code>の値ーの型 * @param key * <code>Map</code>に追加されるキー * @param value * <code>Map</code>に追加される値 * @return 指定されたキーと値を持つ{@link ConcurrentHashMap}を構築するための{@literal Maps} */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
// GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches // the behaviour of the non-GWT implementation of newConcurrentHashSet(). // On the other hand HashSet might be better for code size if apps aren't // already using Collections.newSetFromMap and ConcurrentHashMap. return Collections.newSetFromMap(new ConcurrentHashMap<E, Boolean>()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 29 18:16:45 GMT 2023 - 4.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
import javax.inject.Inject; import javax.inject.Named; import java.nio.file.Path; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Stream; import org.apache.maven.api.Artifact; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.di.SessionScoped;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.9K bytes - Viewed (0)