io.github.nichetoolkit.mybatis.configure.MybatisCacheProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-toolkit-context Show documentation
Show all versions of mybatis-toolkit-context Show documentation
Mybatis toolkit context project for Spring Boot
The newest version!
package io.github.nichetoolkit.mybatis.configure;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* MybatisCacheProperties
* The mybatis cache properties class.
* @author Cyan ([email protected])
* @see lombok.Getter
* @see lombok.Setter
* @see org.springframework.stereotype.Component
* @see org.springframework.boot.context.properties.ConfigurationProperties
* @since Jdk1.8
*/
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "nichetoolkit.mybatis.cache")
public class MybatisCacheProperties {
/**
* initSize
* {@link java.lang.Integer} The initSize
field.
* @see java.lang.Integer
*/
private Integer initSize = 1024;
/**
* useOnce
* The useOnce
field.
*/
private boolean useOnce = false;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy