Interface ModelCache

All Known Implementing Classes:
DefaultModelCache

@Experimental @ThreadSafe public interface ModelCache
Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is formed by a combination of group id, artifact id, version and tag, or by the pom path on the filesystem and tag. The tag allows for further classification of the associated data on the sole discretion of the model builder. The cache is expected to be valid through the lifetime of the session, so the model builder is not allowed to store data which may change during the session, especially effective models which may be different if the user properties or activate profiles change between two invocations of the model builder. The cache implementation is expected to be thread-safe.
Since:
4.0.0