@Deprecated public interface RepositoryCache
Modifier and Type | Method and Description |
---|---|
Object |
get(RepositoryRequest request,
Object key)
Deprecated.
Gets the specified data from the cache.
|
void |
put(RepositoryRequest request,
Object key,
Object data)
Deprecated.
Puts the specified data into the cache.
|
void put(RepositoryRequest request, Object key, Object data)
request
- The repository request from which this cache was retrieved, must not be null
.key
- The key to use associate the data with, must not be null
.data
- The data to store in the cache, may be null
.Object get(RepositoryRequest request, Object key)
request
- The repository request from which this cache was retrieved, must not be null
.key
- The key to use for lookup of the data, must not be null
.null
if none was present in the cache.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.