Package org.ocpsoft.rewrite.spi
Interface RuleCacheProvider
public interface RuleCacheProvider
SPI for implementing
Rule caching. For use in optimized RewriteProvider instances.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptioncreateKey(Rewrite event, EvaluationContext context) Create a unique key for the givenRewriteevent andEvaluationContextstates.GetRuleinstances matching the given cache key.voidStore a list ofRuleinstances matching the given cache key.
-
Method Details
-
get
GetRuleinstances matching the given cache key. -
put
Store a list ofRuleinstances matching the given cache key. -
createKey
Create a unique key for the givenRewriteevent andEvaluationContextstates.
-