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 Object implements BackofficeFacetSearchConfigCache, InvalidationListener
Deprecated, for removal: This API element is subject to removal in a future version.
(Be replaced)
  • Field Details

    • cache

      protected final Map<String,PK> cache
      Deprecated, for removal: This API element is subject to removal in a future version.
    • cacheLock

      protected final ReadWriteLock cacheLock
      Deprecated, for removal: This API element is subject to removal in a future version.
    • invalidatingTypecodes

      protected Set<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.
  • Constructor Details

    • DefaultBackofficeFacetSearchConfigCache

      public DefaultBackofficeFacetSearchConfigCache()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • initialize

      public void initialize()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • containsSearchConfigForTypeCode

      public boolean containsSearchConfigForTypeCode(String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      containsSearchConfigForTypeCode in interface BackofficeFacetSearchConfigCache
    • getSearchConfigForTypeCode

      public BackofficeIndexedTypeToSolrFacetSearchConfigModel getSearchConfigForTypeCode(String typeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSearchConfigForTypeCode in interface BackofficeFacetSearchConfigCache
    • putSearchConfigForTypeCode

      public void putSearchConfigForTypeCode(String typeCode, BackofficeIndexedTypeToSolrFacetSearchConfigModel facetSearchConfig)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      putSearchConfigForTypeCode in interface BackofficeFacetSearchConfigCache
    • invalidateCache

      public void invalidateCache()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      invalidateCache in interface BackofficeFacetSearchConfigCache
    • setInvalidatingTypecodes

      public void setInvalidatingTypecodes(Set<String> invalidatingTypecodes)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • keyInvalidated

      public void keyInvalidated(Object[] key, int invalidationType, InvalidationTarget target, RemoteInvalidationSource remoteSource)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      keyInvalidated in interface InvalidationListener
    • isOperationInvalidating

      protected boolean isOperationInvalidating(int invalidationType)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isTypeInvalidating

      protected boolean isTypeInvalidating(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.