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 RedissonReference |
toReference(Config config,
Object object) |
static void |
warmUp() |
public static <T> T fromReference(RedissonClient redisson, RedissonReference rr) throws Exception
Exceptionpublic static <T> T fromReference(RedissonReactiveClient redisson, RedissonReference rr) throws Exception
Exceptionpublic static RedissonReference toReference(Config config, Object object)
public static <T extends RObject,K extends Codec> T createRObject(RedissonClient redisson, Class<T> expectedType, String name, K codec) throws Exception
Exceptionpublic static void warmUp()
Copyright © 2014–2018 The Redisson Project. All rights reserved.