Class DefaultBackofficeFacetSearchConfigCache
- java.lang.Object
-
- com.hybris.backoffice.solrsearch.cache.impl.DefaultBackofficeFacetSearchConfigCache
-
- All Implemented Interfaces:
BackofficeFacetSearchConfigCache,InvalidationListener
@Deprecated(since="2105", forRemoval=true) public class DefaultBackofficeFacetSearchConfigCache extends java.lang.Object implements BackofficeFacetSearchConfigCache, InvalidationListenerDeprecated, for removal: This API element is subject to removal in a future version.(Be replaced)
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,PK>cacheDeprecated, for removal: This API element is subject to removal in a future version.protected java.util.concurrent.locks.ReadWriteLockcacheLockDeprecated, for removal: This API element is subject to removal in a future version.protected java.util.Set<java.lang.String>invalidatingTypecodesDeprecated, for removal: This API element is subject to removal in a future version.protected ModelServicemodelServiceDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description DefaultBackofficeFacetSearchConfigCache()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsSearchConfigForTypeCode(java.lang.String typeCode)Deprecated, for removal: This API element is subject to removal in a future version.protected ModelServicegetModelService()Deprecated, for removal: This API element is subject to removal in a future version.BackofficeIndexedTypeToSolrFacetSearchConfigModelgetSearchConfigForTypeCode(java.lang.String typeCode)Deprecated, for removal: This API element is subject to removal in a future version.voidinitialize()Deprecated, for removal: This API element is subject to removal in a future version.voidinvalidateCache()Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisOperationInvalidating(int invalidationType)Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisTypeInvalidating(java.lang.Object[] key)Deprecated, for removal: This API element is subject to removal in a future version.voidkeyInvalidated(java.lang.Object[] key, int invalidationType, InvalidationTarget target, RemoteInvalidationSource remoteSource)Deprecated, for removal: This API element is subject to removal in a future version.voidputSearchConfigForTypeCode(java.lang.String typeCode, BackofficeIndexedTypeToSolrFacetSearchConfigModel facetSearchConfig)Deprecated, for removal: This API element is subject to removal in a future version.voidsetInvalidatingTypecodes(java.util.Set<java.lang.String> invalidatingTypecodes)Deprecated, for removal: This API element is subject to removal in a future version.voidsetModelService(ModelService modelService)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Field Detail
-
cache
protected final java.util.Map<java.lang.String,PK> cache
Deprecated, for removal: This API element is subject to removal in a future version.
-
cacheLock
protected final java.util.concurrent.locks.ReadWriteLock cacheLock
Deprecated, for removal: This API element is subject to removal in a future version.
-
invalidatingTypecodes
protected java.util.Set<java.lang.String> invalidatingTypecodes
Deprecated, for removal: This API element is subject to removal in a future version.
-
modelService
protected ModelService modelService
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
initialize
public void initialize()
Deprecated, for removal: This API element is subject to removal in a future version.
-
containsSearchConfigForTypeCode
public boolean containsSearchConfigForTypeCode(java.lang.String typeCode)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
containsSearchConfigForTypeCodein interfaceBackofficeFacetSearchConfigCache
-
getSearchConfigForTypeCode
public BackofficeIndexedTypeToSolrFacetSearchConfigModel getSearchConfigForTypeCode(java.lang.String typeCode)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSearchConfigForTypeCodein interfaceBackofficeFacetSearchConfigCache
-
putSearchConfigForTypeCode
public void putSearchConfigForTypeCode(java.lang.String typeCode, BackofficeIndexedTypeToSolrFacetSearchConfigModel facetSearchConfig)Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
putSearchConfigForTypeCodein interfaceBackofficeFacetSearchConfigCache
-
invalidateCache
public void invalidateCache()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
invalidateCachein interfaceBackofficeFacetSearchConfigCache
-
setInvalidatingTypecodes
public void setInvalidatingTypecodes(java.util.Set<java.lang.String> invalidatingTypecodes)
Deprecated, for removal: This API element is subject to removal in a future version.
-
keyInvalidated
public void keyInvalidated(java.lang.Object[] key, int invalidationType, InvalidationTarget target, RemoteInvalidationSource remoteSource)Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
keyInvalidatedin interfaceInvalidationListener
-
isOperationInvalidating
protected boolean isOperationInvalidating(int invalidationType)
Deprecated, for removal: This API element is subject to removal in a future version.
-
isTypeInvalidating
protected boolean isTypeInvalidating(java.lang.Object[] key)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getModelService
protected ModelService getModelService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setModelService
public void setModelService(ModelService modelService)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-