com.luues.redis.single.config.CacheManagerProperties Maven / Gradle / Ivy
package com.luues.redis.single.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.time.Duration;
import java.util.Map;
@Component(value = "cache_manager_properties")
@ConfigurationProperties("spring.redis.cache")
@Data
public class CacheManagerProperties {
private Duration defaultCacheMillis = Duration.ofMillis(-1);
private Map caches;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy