anthill.storage
Interface QueryStorage
- All Superinterfaces:
- Clearable, GenericStorage, Storage
- All Known Implementing Classes:
- LRUQueryStorage, UrlStorage
- public interface QueryStorage
- extends GenericStorage
Implementation of an LRU based query storage. This is a wrapper class
for storing resources based on using a query to access the resources.
It inherits all methods from the LRUKeyStorage
,
but adds a method to retrieve resources based on a query.
- Version:
- $Revision$
- Author:
- Hein Meling
Method Summary |
Resource[] |
getResources(java.lang.Object query)
Return the resource associated with the specified query. |
getResources
public Resource[] getResources(java.lang.Object query)
- Return the resource associated with the specified query.
- Parameters:
query
- whose associated resource to retreive.- Returns:
- resources found in the storage with which the
specified query matched.