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 Object
computeIfAbsent
(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 Object
static ModelCache
newInstance
(org.eclipse.aether.RepositorySystemSession session) protected void
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.model.building.ModelCache
computeIfAbsent, computeIfAbsent, get, get, put, put
-
Method Details
-
newInstance
-
get
- Specified by:
get
in interfaceModelCache
-
put
- Specified by:
put
in interfaceModelCache
-
get
- Specified by:
get
in interfaceModelCache
-
put
- Specified by:
put
in interfaceModelCache
-
get
-
put
-
computeIfAbsent
public Object computeIfAbsent(String groupId, String artifactId, String version, String tag, Supplier<Supplier<?>> data) - Specified by:
computeIfAbsent
in interfaceModelCache
-
computeIfAbsent
- Specified by:
computeIfAbsent
in interfaceModelCache
-
computeIfAbsent
-