Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » filter » [javadoc | source]
org.hibernate.search.filter
public interface: FilterCachingStrategy [javadoc | source]

All Known Implementing Classes:
    MRUFilterCachingStrategy

Defines the caching filter strategy implementations of getCachedFilter and addCachedFilter must be thread-safe
Method from org.hibernate.search.filter.FilterCachingStrategy Summary:
addCachedFilter,   getCachedFilter,   initialize
Method from org.hibernate.search.filter.FilterCachingStrategy Detail:
 public  void addCachedFilter(FilterKey key,
    Filter filter)
    Propose a candidate filter for caching
 public Filter getCachedFilter(FilterKey key)
    Retrieve the cached filter for a given key or null if not cached
 public  void initialize(Properties properties)
    initialize the strategy from the properties The Properties must not be changed