public class RedissonObjectFactory extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
RedissonObjectFactory.RedissonObjectBuilder |
Constructor | Description |
---|---|
RedissonObjectFactory() |
Modifier and Type | Method | 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
Exception
public static <T> T fromReference(RedissonReactiveClient redisson, RedissonReference rr) throws Exception
Exception
public 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
Exception
public static void warmUp()
Copyright © 2014–2018 The Redisson Project. All rights reserved.