org.hibernate.search.backend.lucene.cache.QueryCachingConfigurer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-backend-lucene Show documentation
Show all versions of hibernate-search-backend-lucene Show documentation
Hibernate Search Backend relying on embedded instances of Lucene
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.search.backend.lucene.cache;
import org.hibernate.search.backend.lucene.cfg.LuceneBackendSettings;
/**
* A configurer for query caching.
*
* Users can select a configurer through the
* {@link LuceneBackendSettings#QUERY_CACHING_CONFIGURER configuration properties}.
*/
public interface QueryCachingConfigurer {
/**
* Configures query caching as necessary using the given {@code context}.
* @param context A context exposing methods to configure caching.
*/
void configure(QueryCachingConfigurationContext context);
}