public class RedissonObjectFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RedissonObjectFactory.RedissonObjectBuilder |
Constructor and Description |
---|
RedissonObjectFactory() |
Modifier and Type | Method and Description |
---|---|
static <T extends RObject,K extends Codec> |
createRObject(RedissonClient redisson,
Class<T> expectedType,
String name,
K codec) |
static <T> T |
fromReference(RedissonClient redisson,
RedissonReference rr) |
static <T> T |
fromReference(RedissonReactiveClient redisson,
RedissonReference rr) |
static <T> T |
fromReference(RedissonReactiveClient redisson,
RedissonReference rr,
Class<?> expected) |
static RedissonReference |
toReference(RedissonClient redisson,
Object object) |
static RedissonReference |
toReference(RedissonReactiveClient redissonReactive,
Object object) |
static void |
warmUp() |
public static <T> T fromReference(RedissonClient redisson, RedissonReference rr) throws Exception
Exception
public static <T> T fromReference(RedissonReactiveClient redisson, RedissonReference rr) throws Exception
Exception
public static <T> T fromReference(RedissonReactiveClient redisson, RedissonReference rr, Class<?> expected) throws Exception
Exception
public static RedissonReference toReference(RedissonClient redisson, Object object)
public static RedissonReference toReference(RedissonReactiveClient redissonReactive, Object object)
public static <T extends RObject,K extends Codec> T createRObject(RedissonClient redisson, Class<T> expectedType, String name, K codec) throws Exception
Exception
public static void warmUp()
Copyright © 2014–2017 The Redisson Project. All rights reserved.