public class RedissonObjectBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RedissonObjectBuilder.CodecMethodRef |
Constructor and Description |
---|
RedissonObjectBuilder(Config config,
RedissonClient redisson,
RedissonReactiveClient redissonReactive,
RedissonRxClient redissonRx) |
Modifier and Type | Method and Description |
---|---|
RObject |
createObject(Object id,
Class<?> clazz,
Class<?> fieldType,
String fieldName) |
Object |
fromReference(RedissonReference rr) |
NamingScheme |
getNamingScheme(Class<?> entityClass) |
NamingScheme |
getNamingScheme(Class<?> rEntity,
Codec c) |
ReferenceCodecProvider |
getReferenceCodecProvider() |
void |
store(RObject ar,
String fieldName,
RMap<String,Object> liveMap) |
void |
storeAsync(RObject ar,
String fieldName,
RMap<String,Object> liveMap) |
RedissonReference |
toReference(Object object) |
public RedissonObjectBuilder(Config config, RedissonClient redisson, RedissonReactiveClient redissonReactive, RedissonRxClient redissonRx)
public ReferenceCodecProvider getReferenceCodecProvider()
public RObject createObject(Object id, Class<?> clazz, Class<?> fieldType, String fieldName)
public NamingScheme getNamingScheme(Class<?> entityClass)
public NamingScheme getNamingScheme(Class<?> rEntity, Codec c)
public Object fromReference(RedissonReference rr) throws ReflectiveOperationException
ReflectiveOperationException
public RedissonReference toReference(Object object)
Copyright © 2014–2020 Redisson. All rights reserved.