public class ExprOptions<K> extends Object
| Constructor | Description |
|---|---|
ExprOptions(InternFunction<K> preInternFunction,
RuleSetCache<K> ruleSetCache,
RuleCache<K> ruleCache,
ExprFactory<K> exprFactory) |
| Modifier and Type | Method | Description |
|---|---|---|
static <K> ExprOptions<K> |
allCacheIntern() |
Cache all rule results, and also intern all expressions for maximum memory optimization
|
ExprFactory<K> |
getExprFactory() |
|
InternFunction<K> |
getPreInternFunction() |
|
RuleCache<K> |
getRuleCache() |
|
RuleSetCache<K> |
getRuleSetCache() |
|
static <K> ExprOptions<K> |
noCaching() |
No caching, no interning
|
static <K> ExprOptions<K> |
onlyCaching() |
Cache all rule results, don't intern anything
|
public ExprOptions(InternFunction<K> preInternFunction, RuleSetCache<K> ruleSetCache, RuleCache<K> ruleCache, ExprFactory<K> exprFactory)
public InternFunction<K> getPreInternFunction()
public ExprFactory<K> getExprFactory()
public RuleSetCache<K> getRuleSetCache()
public static <K> ExprOptions<K> noCaching()
public static <K> ExprOptions<K> onlyCaching()
public static <K> ExprOptions<K> allCacheIntern()
Copyright © 2019. All rights reserved.