public class LiveObjectInterceptor extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
LiveObjectInterceptor.Getter |
static interface |
LiveObjectInterceptor.Setter |
Constructor and Description |
---|
LiveObjectInterceptor(RedissonClient redisson,
Class<?> entityClass,
String idFieldName) |
Modifier and Type | Method and Description |
---|---|
Object |
intercept(Method method,
Object[] args,
Object me,
Object id,
LiveObjectInterceptor.Setter idSetter,
LiveObjectInterceptor.Getter idGetter,
RMap<?,?> map,
LiveObjectInterceptor.Setter mapSetter,
LiveObjectInterceptor.Getter mapGetter) |
public LiveObjectInterceptor(RedissonClient redisson, Class<?> entityClass, String idFieldName)
@RuntimeType public Object intercept(@Origin Method method, @AllArguments Object[] args, @This Object me, @FieldValue(value="liveObjectId") Object id, @FieldProxy(value="liveObjectId") LiveObjectInterceptor.Setter idSetter, @FieldProxy(value="liveObjectId") LiveObjectInterceptor.Getter idGetter, @FieldValue(value="liveObjectLiveMap") RMap<?,?> map, @FieldProxy(value="liveObjectLiveMap") LiveObjectInterceptor.Setter mapSetter, @FieldProxy(value="liveObjectLiveMap") LiveObjectInterceptor.Getter mapGetter) throws Exception
Exception
Copyright © 2014–2018 The Redisson Project. All rights reserved.