|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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. The first three components generally refer to the identify of a model. The tag allows for further classification of the associated data on the sole discretion of the model builder.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||