com.github.bootfastconfig.cache.properties.RedissonProperties Maven / Gradle / Ivy
package com.github.bootfastconfig.cache.properties;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import java.time.Duration;
public class RedissonProperties {
/**
* Shutdown timeout.
*/
private Duration shutdownTimeout = Duration.ofMillis(100);
/**
* Lettuce pool configuration.
*/
private Pool pool = new Pool();
public Duration getShutdownTimeout() {
return this.shutdownTimeout;
}
public void setShutdownTimeout(Duration shutdownTimeout) {
this.shutdownTimeout = shutdownTimeout;
}
public Pool getPool() {
return this.pool;
}
public void setPool(Pool pool) {
this.pool = pool;
}
public static class Pool extends RedisProperties.Pool {
}
}