Class DefaultModelCache
java.lang.Object
org.apache.maven.internal.impl.model.DefaultModelCache
- All Implemented Interfaces:
ModelCache
A model builder cache backed by the repository system cache.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()protected ObjectcomputeIfAbsent(Object key, Supplier<?> data) <T> T<T> TcomputeIfAbsent(Source path, String tag, Supplier<T> data)
-
Constructor Details
-
DefaultModelCache
public DefaultModelCache()
-
-
Method Details
-
computeIfAbsent
public <T> T computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<T> data) - Specified by:
computeIfAbsentin interfaceModelCache
-
computeIfAbsent
- Specified by:
computeIfAbsentin interfaceModelCache
-
clear
public void clear()- Specified by:
clearin interfaceModelCache
-
computeIfAbsent
-