public class SolrIndexCachedOperation extends Object
SolrIndexService.performCachedOperation(org.broadleafcommerce.core.search.service.solr.SolrIndexCachedOperation.CacheOperation).
This serves to boost performance while executing multiple calls to SolrIndexService.buildIncrementalIndex(int, int, boolean).SolrIndexService| Modifier and Type | Class and Description |
|---|---|
static interface |
SolrIndexCachedOperation.CacheOperation
Basic interface representing a block of work to perform with a single cache instance
|
| Constructor and Description |
|---|
SolrIndexCachedOperation() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCache()
Clear the thread local cache from the thread
|
static CatalogStructure |
getCache()
Retrieve the cache bound to the current thread.
|
static void |
setCache(CatalogStructure cache)
Set the cache on the current thread
|
public static CatalogStructure getCache()
public static void setCache(CatalogStructure cache)
cache - the cache object (usually an empty map)public static void clearCache()
Copyright © 2015. All Rights Reserved.