Class DefaultModelCache
java.lang.Object
org.apache.maven.repository.internal.DefaultModelCache
- All Implemented Interfaces:
ModelCache
A model builder cache backed by the repository system cache.
-
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcomputeIfAbsent(Object key, Supplier<Supplier<?>> data) computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<Supplier<?>> data) computeIfAbsent(Source path, String tag, Supplier<Supplier<?>> data) protected Objectstatic ModelCachenewInstance(org.eclipse.aether.RepositorySystemSession session) protected voidvoidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.model.building.ModelCache
computeIfAbsent, computeIfAbsent, get, get, put, put
-
Method Details
-
newInstance
-
get
- Specified by:
getin interfaceModelCache
-
put
- Specified by:
putin interfaceModelCache
-
get
- Specified by:
getin interfaceModelCache
-
put
- Specified by:
putin interfaceModelCache
-
get
-
put
-
computeIfAbsent
public Object computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<Supplier<?>> data) - Specified by:
computeIfAbsentin interfaceModelCache
-
computeIfAbsent
- Specified by:
computeIfAbsentin interfaceModelCache
-
computeIfAbsent
-