- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 76 for computeIfAbsent (0.07 sec)
-
docs/smb3-features/03-multi-channel-design.md
// Mark channel as failed failedChannel.setState(ChannelState.FAILED); // Get or create failover state FailoverState state = failoverStates.computeIfAbsent( failedChannel.getChannelId(), FailoverState::new ); // Redistribute pending operations redistributePendingOperations(failedChannel);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
public void flush() { descriptors.clear(); } @Override public Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session) { return keys.computeIfAbsent(new CacheKey(plugin, repositories, session), k -> k); } @Override public PluginDescriptor get(Key cacheKey) { return clone(descriptors.get(cacheKey)); } @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java
} @Override public CacheRecord get(Key key, PluginRealmSupplier supplier) throws PluginResolutionException, PluginContainerException { try { return cache.computeIfAbsent(key, k -> { try { return supplier.load(); } catch (PluginResolutionException | PluginContainerException e) { throw new RuntimeException(e);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* @param supplier the supplier will compute the new value * @return the session data associated with the key */ @Nullable <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier); /** * Create a key using the given class as an identifier and as the type of the object. */ static <T> Key<T> key(Class<T> clazz) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Aug 29 10:12:17 UTC 2025 - 7.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
} @Override public Project getProject(MavenProject project) { return project != null && project.getBasedir() != null ? allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project)) : null; } @Override public List<ArtifactRepository> toArtifactRepositories(List<RemoteRepository> repositories) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} if (cls.isArray()) { evaluateArray(target); } else if (isQualifiedForInterpolation(cls)) { Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields()); for (Field field : fields) { Class<?> type = field.getType(); if (isQualifiedForInterpolation(field, type)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 14.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
} String projectKey = ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId()); Map<String, Vertex> vertices = vertexMap.computeIfAbsent(projectKey, k -> new HashMap<>(2, 1)); vertices.put(project.getVersion(), graph.addVertex(projectId)); } for (Vertex projectVertex : graph.getVertices()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Mark channel as failed failedChannel.setState(ChannelState.FAILED); // Get or create failover state FailoverState state = failoverStates.computeIfAbsent(failedChannel.getChannelId(), FailoverState::new); // Redistribute pending operations redistributePendingOperations(failedChannel);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0)