Class R2dbcProperties.Pool
java.lang.Object
org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties.Pool
- Enclosing class:
- R2dbcProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
io.r2dbc.spi.ValidationDepth
boolean
void
setEnabled
(boolean enabled) void
setInitialSize
(int initialSize) void
setMaxAcquireTime
(Duration maxAcquireTime) void
setMaxCreateConnectionTime
(Duration maxCreateConnectionTime) void
setMaxIdleTime
(Duration maxIdleTime) void
setMaxLifeTime
(Duration maxLifeTime) void
setMaxSize
(int maxSize) void
setMaxValidationTime
(Duration maxValidationTime) void
setMinIdle
(int minIdle) void
setValidationDepth
(io.r2dbc.spi.ValidationDepth validationDepth) void
setValidationQuery
(String validationQuery)
-
Constructor Details
-
Pool
public Pool()
-
-
Method Details
-
getMinIdle
public int getMinIdle() -
setMinIdle
public void setMinIdle(int minIdle) -
getMaxIdleTime
-
setMaxIdleTime
-
getMaxLifeTime
-
setMaxLifeTime
-
getMaxValidationTime
-
setMaxValidationTime
-
getMaxAcquireTime
-
setMaxAcquireTime
-
getMaxCreateConnectionTime
-
setMaxCreateConnectionTime
-
getInitialSize
public int getInitialSize() -
setInitialSize
public void setInitialSize(int initialSize) -
getMaxSize
public int getMaxSize() -
setMaxSize
public void setMaxSize(int maxSize) -
getValidationQuery
-
setValidationQuery
-
getValidationDepth
public io.r2dbc.spi.ValidationDepth getValidationDepth() -
setValidationDepth
public void setValidationDepth(io.r2dbc.spi.ValidationDepth validationDepth) -
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled)
-