Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.filter
Interface FilterCachingStrategy

All Known Implementing Classes:
  MRUFilterCachingStrategy

    public interface FilterCachingStrategy

Defines the caching filter strategy implementations of getCachedFilter and addCachedFilter must be thread-safe

Author:
  Emmanuel Bernard

Method Summary
`void` | `addCachedFilter(FilterKey key, org.apache.lucene.search.Filter filter)` Propose a candidate filter for caching
`org.apache.lucene.search.Filter` | `getCachedFilter(FilterKey key)` Retrieve the cached filter for a given key or null if not cached
`void` | `initialize(java.util.Properties properties)` initialize the strategy from the properties The Properties must not be changed

Method Detail

### initialize

    void initialize(java.util.Properties properties)

  initialize the strategy from the properties The Properties must not be changed

### getCachedFilter

    org.apache.lucene.search.Filter getCachedFilter(FilterKey key)

  Retrieve the cached filter for a given key or null if not cached

### addCachedFilter

    void addCachedFilter(FilterKey key,
                         org.apache.lucene.search.Filter filter)

  Propose a candidate filter for caching

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2010 Hibernate. All Rights Reserved.