Class DataTrackingKeyGen.TenantKeyGenerator
java.lang.Object
com.broadleafcommerce.data.tracking.core.cache.DataTrackingKeyGen.TenantKeyGenerator
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.cache.key.ContextKeyGen
,org.springframework.cache.interceptor.KeyGenerator
- Direct Known Subclasses:
DataTrackingKeyGen.TenantWithInstantKeyGenerator
- Enclosing class:
- DataTrackingKeyGen
public static class DataTrackingKeyGen.TenantKeyGenerator
extends Object
implements com.broadleafcommerce.common.extension.cache.key.ContextKeyGen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addContextInfoDataToKey
(ContextInfo contextInfo, com.fasterxml.jackson.databind.node.ObjectNode key) void
applyKeyFromArg
(Object param, int position, com.fasterxml.jackson.databind.node.ObjectNode node) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.common.extension.cache.key.ContextKeyGen
generate, generate, generateWithPrefix, getArgs, getRouteKey
-
Constructor Details
-
TenantKeyGenerator
public TenantKeyGenerator()
-
-
Method Details
-
applyKeyFromArg
public void applyKeyFromArg(Object param, int position, com.fasterxml.jackson.databind.node.ObjectNode node) - Specified by:
applyKeyFromArg
in interfacecom.broadleafcommerce.common.extension.cache.key.ContextKeyGen
-
addContextInfoDataToKey
protected void addContextInfoDataToKey(ContextInfo contextInfo, com.fasterxml.jackson.databind.node.ObjectNode key)
-