Class DefaultImperativeListChainable
- java.lang.Object
-
- com.broadleafcommerce.common.extension.cache.api.DefaultImperativeListChainable
-
- All Implemented Interfaces:
ImperativeListCacheable
,ImperativeListChainable
public class DefaultImperativeListChainable extends Object implements ImperativeListChainable, ImperativeListCacheable
Default transition object for holding state during method chaining fromCacheUtility.forListWith(CacheStateManager)
.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description DefaultImperativeListChainable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImperativeListCacheable
andCacheInfo(String cacheName, Function<Object,String> matchFunction, ContextKeyGen generator, List<String> imperativeArgs, Object[] args)
protected boolean
canEqual(Object other)
<P> List<P>
computeIfAbsent(Function<List<String>,List<P>> compute)
boolean
equals(Object o)
CacheStateManager
getCacheStateManager()
ImperativeListCacheInfo
getImperativeListCacheInfo()
Function<?,?>
getImperativeListFunction()
int
hashCode()
void
setCacheStateManager(CacheStateManager cacheStateManager)
void
setImperativeListCacheInfo(ImperativeListCacheInfo imperativeListCacheInfo)
void
setImperativeListFunction(Function<?,?> imperativeListFunction)
String
toString()
ImperativeListChainable
with(CacheStateManager cacheStateManager)
-
-
-
Method Detail
-
with
public ImperativeListChainable with(CacheStateManager cacheStateManager)
-
andCacheInfo
public ImperativeListCacheable andCacheInfo(String cacheName, Function<Object,String> matchFunction, ContextKeyGen generator, List<String> imperativeArgs, Object[] args)
- Specified by:
andCacheInfo
in interfaceImperativeListChainable
-
computeIfAbsent
public <P> List<P> computeIfAbsent(Function<List<String>,List<P>> compute)
- Specified by:
computeIfAbsent
in interfaceImperativeListCacheable
-
getCacheStateManager
public CacheStateManager getCacheStateManager()
-
getImperativeListCacheInfo
public ImperativeListCacheInfo getImperativeListCacheInfo()
-
getImperativeListFunction
public Function<?,?> getImperativeListFunction()
-
setCacheStateManager
public void setCacheStateManager(CacheStateManager cacheStateManager)
-
setImperativeListCacheInfo
public void setImperativeListCacheInfo(ImperativeListCacheInfo imperativeListCacheInfo)
-
setImperativeListFunction
public void setImperativeListFunction(Function<?,?> imperativeListFunction)
-
canEqual
protected boolean canEqual(Object other)
-
-