public class RedissonReference extends Object implements Serializable
Constructor and Description |
---|
RedissonReference() |
RedissonReference(Class<?> type,
String keyName) |
RedissonReference(Class<?> type,
String keyName,
Codec codec) |
Modifier and Type | Method and Description |
---|---|
String |
getCodec() |
String |
getCodecName() |
Class<? extends Codec> |
getCodecType() |
String |
getKeyName() |
Class<?> |
getReactiveType() |
String |
getReactiveTypeName() |
Class<?> |
getType() |
String |
getTypeName() |
void |
setCodecType(Class<? extends Codec> codec) |
void |
setKeyName(String keyName) |
void |
setType(Class<?> type) |
static void |
warmUp() |
public static void warmUp()
public Class<?> getType() throws ClassNotFoundException
ClassNotFoundException
- - if the class cannot be locatedpublic Class<?> getReactiveType() throws ClassNotFoundException
ClassNotFoundException
- - if the class cannot be locatedpublic String getTypeName()
public String getReactiveTypeName()
public void setType(Class<?> type)
type
- the type to setpublic String getKeyName()
public void setKeyName(String keyName)
keyName
- the keyName to setpublic String getCodec()
public Class<? extends Codec> getCodecType() throws ClassNotFoundException
ClassNotFoundException
- - if the class cannot be locatedpublic String getCodecName()
Copyright © 2014–2020 Redisson. All rights reserved.