All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.emily.infrastructure.redis.common.RedisBeanNames Maven / Gradle / Ivy

The newest version!
package com.emily.infrastructure.redis.common;

/**
 * @author :  Emily
 * @since :  2023/9/26 9:23 PM
 */
public class RedisBeanNames {
    public static final String REDIS_TEMPLATE = "RedisTemplate";
    public static final String DEFAULT_REDIS_TEMPLATE = "redisTemplate";
    public static final String STRING_REDIS_TEMPLATE = "StringRedisTemplate";
    public static final String DEFAULT_STRING_REDIS_TEMPLATE = "stringRedisTemplate";
    public static final String REDIS_CONNECTION_FACTORY = "RedisConnectionFactory";
    public static final String DEFAULT_REDIS_CONNECTION_FACTORY = "redisConnectionFactory";
    public static final String REDIS_CONNECT_DETAILS = "RedisConnectionDetails";
    public static final String DEFAULT_REDIS_CONNECT_DETAILS = "redisConnectionDetails";
    public static final String REACTIVE_REDIS_TEMPLATE = "ReactiveRedisTemplate";
    public static final String DEFAULT_REACTIVE_REDIS_TEMPLATE = "reactiveRedisTemplate";
    public static final String REACTIVE_STRING_REDIS_TEMPLATE = "ReactiveStringRedisTemplate";
    public static final String DEFAULT_REACTIVE_STRING_REDIS_TEMPLATE = "reactiveStringRedisTemplate";
    public static final String KEY_EXPIRATION_EVENT_MESSAGE_LISTENER = "KeyExpirationEventMessageListener";
    public static final String REDIS_MESSAGE_LISTENER_CONTAINER = "RedisMessageListenerContainer";

    public static String join(String key, String suffix) {
        return String.join("", key, suffix);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy