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), Nikita Koksharov
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RedissonReference.ReferenceType
-
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()
Class<? extends Codec>
getCodecType()
String
getKeyName()
Class<?>
getReactiveType()
Class<?>
getRxJavaType()
Class<?>
getType()
String
getTypeName()
void
setKeyName(String keyName)
static void
warmUp()
-
-
-
Method Detail
-
warmUp
public static void warmUp()
-
getType
public Class<?> getType() throws ClassNotFoundException
- Returns:
- the type
- Throws:
ClassNotFoundException
- - if the class cannot be located
-
getRxJavaType
public Class<?> getRxJavaType() throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
getReactiveType
public Class<?> getReactiveType() throws ClassNotFoundException
- Returns:
- the type
- Throws:
ClassNotFoundException
- - if the class cannot be located
-
getTypeName
public String getTypeName()
- Returns:
- type name in string
-
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 ClassNotFoundException
- Returns:
- the codec
- Throws:
ClassNotFoundException
- - if the class cannot be located
-
-