Package org.redisson
Class RedissonReference
- java.lang.Object
-
- org.redisson.RedissonReference
-
- All Implemented Interfaces:
Serializable
public class RedissonReference extends Object implements Serializable
- Author:
- Rui Gu (https://github.com/jackygurui)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedissonReference()
RedissonReference(Class<?> type, String keyName)
RedissonReference(Class<?> type, String keyName, Codec codec)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
warmUp
public static void warmUp()
-
getType
public Class<?> getType() throws Exception
- Returns:
- the type
- Throws:
Exception
- - which could be: LinkageError - if the linkage fails ExceptionInInitializerError - if the initialization provoked by this method fails ClassNotFoundException - if the class cannot be located
-
getReactiveType
public Class<?> getReactiveType() throws Exception
- Returns:
- the type
- Throws:
Exception
- - which could be: LinkageError - if the linkage fails ExceptionInInitializerError - if the initialization provoked by this method fails ClassNotFoundException - if the class cannot be located
-
getTypeName
public String getTypeName()
- Returns:
- type name in string
-
getReactiveTypeName
public String getReactiveTypeName()
- Returns:
- type name in string
-
setType
public void setType(Class<?> type)
- Parameters:
type
- the type to set
-
getKeyName
public String getKeyName()
- Returns:
- the keyName
-
setKeyName
public void setKeyName(String keyName)
- Parameters:
keyName
- the keyName to set
-
getCodec
public String getCodec()
-
getCodecType
public Class<? extends Codec> getCodecType() throws Exception
- Returns:
- the codec
- Throws:
Exception
- - which could be: LinkageError - if the linkage fails ExceptionInInitializerError - if the initialization provoked by this method fails ClassNotFoundException - if the class cannot be located
-
getCodecName
public String getCodecName()
- Returns:
- Codec name in string
-
-