Class QueryResultCachePlugin
java.lang.Object
org.codice.ddf.catalog.solr.cache.impl.QueryResultCachePlugin
- All Implemented Interfaces:
ddf.catalog.plugin.PostFederatedQueryPlugin
public class QueryResultCachePlugin
extends Object
implements ddf.catalog.plugin.PostFederatedQueryPlugin
-
Constructor Summary
ConstructorsConstructorDescriptionQueryResultCachePlugin(SolrCache solrCache, SolrCacheSource solrCacheSource, ExecutorService solrCacheExecutorService) -
Method Summary
Modifier and TypeMethodDescriptionddf.catalog.operation.QueryResponseprocess(ddf.catalog.operation.QueryResponse input) voidsetCacheStrategy(String cacheStrategy) Phaser that forces all added metacards to commit to the cache on phase advancevoidsetCachingFederatedResponses(boolean cachingFederatedResponses) voidshutdown()
-
Constructor Details
-
QueryResultCachePlugin
public QueryResultCachePlugin(SolrCache solrCache, SolrCacheSource solrCacheSource, ExecutorService solrCacheExecutorService)
-
-
Method Details
-
process
public ddf.catalog.operation.QueryResponse process(ddf.catalog.operation.QueryResponse input) throws ddf.catalog.plugin.PluginExecutionException, ddf.catalog.plugin.StopProcessingException - Specified by:
processin interfaceddf.catalog.plugin.PostFederatedQueryPlugin- Throws:
ddf.catalog.plugin.PluginExecutionExceptionddf.catalog.plugin.StopProcessingException
-
setCachingFederatedResponses
public void setCachingFederatedResponses(boolean cachingFederatedResponses) -
shutdown
public void shutdown() -
setCacheStrategy
Phaser that forces all added metacards to commit to the cache on phase advance
-