Class R2dbcProperties.Pool
java.lang.Object
org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties.Pool
- Enclosing class:
- R2dbcProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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
setValidationDepth
(io.r2dbc.spi.ValidationDepth validationDepth) void
setValidationQuery
(String validationQuery)
-
Constructor Details
-
Pool
public Pool()
-
-
Method Details
-
getMaxIdleTime
-
setMaxIdleTime
-
getMaxLifeTime
-
setMaxLifeTime
-
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)
-