public interface ModelCache
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String groupId,
String artifactId,
String version,
String tag)
Gets the specified data from the cache.
|
void |
put(String groupId,
String artifactId,
String version,
String tag,
Object data)
Puts the specified data into the cache.
|
void put(String groupId, String artifactId, String version, String tag, 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.Object get(String groupId, String artifactId, String version, 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.Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.