- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for ConcurrentHashMap (0.32 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) -
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) -
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) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; import org.apache.maven.api.JavaPathType; import org.apache.maven.api.Type; import org.apache.maven.api.annotations.Nonnull;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
import org.codelibs.fess.util.JobProcess; public class ProcessHelper { private static final Logger logger = LogManager.getLogger(ProcessHelper.class); protected final ConcurrentHashMap<String, JobProcess> runningProcessMap = new ConcurrentHashMap<>(); protected int processDestroyTimeout = 10; @PreDestroy public void destroy() { for (final String sessionId : runningProcessMap.keySet()) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.4K bytes - Viewed (0)