public abstract class CachedTableSwitchStrategyMatcher extends Object implements TableSwitchStrategyMatcher
| Modifier and Type | Class and Description |
|---|---|
static class |
CachedTableSwitchStrategyMatcher.CacheKey |
TableSwitchStrategyMatcher.Strategy| Constructor and Description |
|---|
CachedTableSwitchStrategyMatcher() |
| Modifier and Type | Method and Description |
|---|---|
abstract TableSwitchStrategyMatcher.Strategy |
createStrategyIfMatch(Class target,
Method method) |
TableSwitchStrategyMatcher.Strategy |
getStrategy(MethodInterceptorContext context)
获取表切换策略
|
boolean |
match(Class target,
Method method)
匹配类和方法,返回是否需要进行表切换
|
public abstract TableSwitchStrategyMatcher.Strategy createStrategyIfMatch(Class target, Method method)
public boolean match(Class target, Method method)
TableSwitchStrategyMatchermatch in interface TableSwitchStrategyMatchertarget - 类method - 方法public TableSwitchStrategyMatcher.Strategy getStrategy(MethodInterceptorContext context)
TableSwitchStrategyMatchergetStrategy in interface TableSwitchStrategyMatchercontext - aop上下文Copyright © 2016–2021. All rights reserved.