public interface FilterCachingStrategy
| Modifier and Type | Method and Description |
|---|---|
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(Properties properties)
Initialize the strategy from the properties.
|
void initialize(Properties properties)
properties - the caching strategy configurationorg.apache.lucene.search.Filter getCachedFilter(FilterKey key)
key - the filter keyvoid addCachedFilter(FilterKey key, org.apache.lucene.search.Filter filter)
key - the filter keyfilter - the filter to cacheCopyright © 2006–2017 Hibernate. All rights reserved.