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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Object[]
getArgs()
Any method arguments, or other suitable key fragments that should be combined during key generation fromgenerator
.The name of the cache inCacheManager
Optional.TheContextKeyGen
instance responsible for creating a complete and accurate cache key for all the computed members based onimperativeArgs
.int
hashCode()
void
setFactoryFunction
(Supplier<EntityInfo> factoryFunction) Optional.toString()
-
Constructor Details
-
CacheInfo
-
-
Method Details
-
getCacheName
The name of the cache inCacheManager
-
getGenerator
TheContextKeyGen
instance 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
-