Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 61 for ConcurrentHashMap (0.1 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

    package org.apache.maven.internal.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Objects;
    import java.util.Optional;
    import java.util.concurrent.ConcurrentHashMap;
    
    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.Type;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.services.LanguageRegistry;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

     */
    public class ResidentMavenInvoker extends MavenInvoker {
    
        private final ConcurrentHashMap<String, MavenContext> residentContext;
    
        public ResidentMavenInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
            this.residentContext = new ConcurrentHashMap<>();
        }
    
        @Override
        public void close() throws InvokerException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    @GwtCompatible
    public final class AtomicLongMap<K> implements Serializable {
      private final ConcurrentHashMap<K, Long> map;
    
      private AtomicLongMap(ConcurrentHashMap<K, Long> map) {
        this.map = checkNotNull(map);
      }
    
      /** Creates an {@code AtomicLongMap}. */
      public static <K> AtomicLongMap<K> create() {
        return new AtomicLongMap<>(new ConcurrentHashMap<>());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. impl/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<>();
    
        @Override
        public void flush() {
            descriptors.clear();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

     * under the License.
     */
    package org.apache.maven.cling.transfer;
    
    import java.io.File;
    import java.io.PrintWriter;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        }
    
        @SuppressWarnings("unchecked")
        private ConcurrentHashMap<String, PluginValidationIssues> pluginIssues(RepositorySystemSession session) {
            return (ConcurrentHashMap<String, PluginValidationIssues>)
                    session.getData().computeIfAbsent(ISSUES_KEY, ConcurrentHashMap::new);
        }
    
        private static class PluginValidationIssues {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

    import com.google.common.base.Function;
    import com.google.common.testing.NullPointerTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Charles Fry
     */
    @GwtCompatible
    @J2ktIncompatible // MapMaker
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration.internal;
    
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    
    import org.codehaus.plexus.component.configurator.ComponentConfigurationException;
    import org.codehaus.plexus.component.configurator.ConfigurationListener;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                    pluginContextsByProjectAndPluginKey.computeIfAbsent(projectKey, k -> new ConcurrentHashMap<>());
    
            String pluginKey = plugin.getPluginLookupKey();
    
            return pluginContextsByKey.computeIfAbsent(pluginKey, k -> new ConcurrentHashMap<>());
        }
    
        public ProjectDependencyGraph getProjectDependencyGraph() {
            return projectDependencyGraph;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal.builder.multithreaded;
    
    import java.util.Comparator;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.function.ToLongFunction;
    
    import org.apache.maven.execution.ProjectDependencyGraph;
    import org.apache.maven.project.MavenProject;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top