@Deprecated public interface ResourceCacheInterface
Modifier and Type | Method and Description |
---|---|
void |
addPendingCacheEntry(ReliableResource reliableResource)
Deprecated.
Adds resource to list of resources in process of being cached.
|
boolean |
containsValid(String key,
Metacard latestMetacard)
Deprecated.
Queries cache to determine if it contains a valid resource with the provided key.
|
Resource |
getValid(String key,
Metacard latestMetacard)
Deprecated.
Gets a valid resource from the cache.
|
boolean |
isPending(String key)
Deprecated.
Returns true if resource with specified cache key is already in the process of being cached.
|
void |
put(ReliableResource reliableResource)
Deprecated.
Adds a resource to the cache.
|
void |
removePendingCacheEntry(String cacheKey)
Deprecated.
Removes resource from list of pending resources being added to cache.
|
void put(ReliableResource reliableResource)
reliableResource
- Resource getValid(String key, Metacard latestMetacard)
A valid resource is one where the corresponding Metacard in the Catalog has not changed since its resource was cached.
key
- boolean containsValid(String key, Metacard latestMetacard)
A valid resource is one where the corresponding Metacard in the Catalog has not changed since its resource was cached.
key
- boolean isPending(String key)
key
- void removePendingCacheEntry(String cacheKey)
cacheKey
- void addPendingCacheEntry(ReliableResource reliableResource)
reliableResource
- This work is licensed under a Creative Commons Attribution 4.0 International License.