Class CacheInfo
java.lang.Object
com.broadleafcommerce.common.extension.cache.api.CacheInfo
Basic information used for interaction with the
CacheManager during a
CacheUtility.forSingleWith(CacheStateManager) call.- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanObject[]getArgs()Any method arguments, or other suitable key fragments that should be combined during key generation fromgenerator.The name of the cache inCacheManagerOptional.TheContextKeyGeninstance responsible for creating a complete and accurate cache key for all the computed members based onimperativeArgs.inthashCode()voidsetFactoryFunction(Supplier<EntityInfo> factoryFunction) Optional.toString()
-
Constructor Details
-
CacheInfo
-
-
Method Details
-
getCacheName
The name of the cache inCacheManager -
getGenerator
TheContextKeyGeninstance responsible for creating a complete and accurate cache key for all the computed members based onimperativeArgs. -
getArgs
Any method arguments, or other suitable key fragments that should be combined during key generation fromgenerator. -
getFactoryFunction
Optional. Create an identifying construct that will influence the cache key. This is useful when it is required to support discrete cache invalidation for members related to specific entities. -
setFactoryFunction
Optional. Create an identifying construct that will influence the cache key. This is useful when it is required to support discrete cache invalidation for members related to specific entities. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-