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

club.kingyin.easycache.core.config.EasyCacheProperties Maven / Gradle / Ivy

The newest version!
package club.kingyin.easycache.core.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "easycache")
public class EasyCacheProperties {

    @Autowired
    private Engine engine;

    @Autowired
    private Inner inner;

    @Autowired
    private Redis redis;

    @Value("${easycache.context.type}")
    private String type;

    @Value("${easycache.context.func}")
    private String func;

    public static final String EMPTY_STRING = "$s^";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy