public class LiveObjectInterceptor extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
LiveObjectInterceptor.Getter |
static interface |
LiveObjectInterceptor.Setter |
Constructor and Description |
---|
LiveObjectInterceptor(CommandAsyncExecutor commandExecutor,
ConnectionManager connectionManager,
RedissonLiveObjectService service,
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<String,?> map,
LiveObjectInterceptor.Setter mapSetter,
LiveObjectInterceptor.Getter mapGetter) |
public LiveObjectInterceptor(CommandAsyncExecutor commandExecutor, ConnectionManager connectionManager, RedissonLiveObjectService service, 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<String,?> map, @FieldProxy(value="liveObjectLiveMap") LiveObjectInterceptor.Setter mapSetter, @FieldProxy(value="liveObjectLiveMap") LiveObjectInterceptor.Getter mapGetter) throws Exception
Exception
Copyright © 2014–2021 Redisson. All rights reserved.