public class RedisInterceptor extends Object implements Interceptor
Constructor and Description |
---|
RedisInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected Cache |
getCache()
通过继承 RedisInterceptor 类并覆盖此方法,可以指定
当前线程所使用的 cache
|
void |
intercept(Invocation inv) |
protected Cache getCache()
public void intercept(Invocation inv)
intercept
in interface Interceptor
Copyright © 2018. All rights reserved.