anthill.storage
Interface QueryStorage
- All Superinterfaces:
- Clearable, GenericStorage, ResourceManager, Storage
- All Known Implementing Classes:
- CmsStorage, LRUQueryStorage, UrlStorage, UrlStorage, 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: 1.4 $
- Author:
- Hein Meling
getResources
public Resource[] getResources(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.