public interface ModelCache
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String tag)
Gets the specified data from the cache.
|
void |
put(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String tag,
java.lang.Object data)
Puts the specified data into the cache.
|
void put(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String tag,
java.lang.Object data)
groupId - The group id of the cache record, must not be null.artifactId - The artifact id of the cache record, must not be null.version - The version of the cache record, must not be null.tag - The tag of the cache record, must not be null.data - The data to store in the cache, must not be null.java.lang.Object get(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String tag)
groupId - The group id of the cache record, must not be null.artifactId - The artifact id of the cache record, must not be null.version - The version of the cache record, must not be null.tag - The tag of the cache record, must not be null.null if none was present in the cache.