Package org.redisson

Class RedissonReference

    • Constructor Detail

      • RedissonReference

        public RedissonReference()
      • RedissonReference

        public RedissonReference​(Class<?> type,
                                 String keyName)
      • RedissonReference

        public RedissonReference​(Class<?> type,
                                 String keyName,
                                 Codec codec)
    • 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
      • setCodecType

        public void setCodecType​(Class<? extends Codec> codec)
        Parameters:
        codec - the codec to set