Serializable
public class RedissonReference extends Object implements Serializable
Constructor | Description |
---|---|
RedissonReference() |
|
RedissonReference(Class type,
String keyName) |
|
RedissonReference(Class type,
String keyName,
Codec codec) |
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() |
public static void warmUp()
public Class<?> getType() throws Exception
Exception
- - which could be:
LinkageError - if the linkage fails
ExceptionInInitializerError - if the initialization provoked by this method fails
ClassNotFoundException - if the class cannot be locatedpublic Class<?> getReactiveType() throws Exception
Exception
- - which could be:
LinkageError - if the linkage fails
ExceptionInInitializerError - if the initialization provoked by this method fails
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 Exception
Exception
- - which could be:
LinkageError - if the linkage fails
ExceptionInInitializerError - if the initialization provoked by this method fails
ClassNotFoundException - if the class cannot be locatedpublic String getCodecName()
Copyright © 2014–2018 The Redisson Project. All rights reserved.