public static class R2dbcProperties.Pool extends Object
Constructor and Description |
---|
Pool() |
Modifier and Type | Method and Description |
---|---|
int |
getInitialSize() |
Duration |
getMaxAcquireTime() |
Duration |
getMaxCreateConnectionTime() |
Duration |
getMaxIdleTime() |
Duration |
getMaxLifeTime() |
int |
getMaxSize() |
io.r2dbc.spi.ValidationDepth |
getValidationDepth() |
String |
getValidationQuery() |
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) |
public Duration getMaxIdleTime()
public void setMaxIdleTime(Duration maxIdleTime)
public Duration getMaxLifeTime()
public void setMaxLifeTime(Duration maxLifeTime)
public Duration getMaxAcquireTime()
public void setMaxAcquireTime(Duration maxAcquireTime)
public Duration getMaxCreateConnectionTime()
public void setMaxCreateConnectionTime(Duration maxCreateConnectionTime)
public int getInitialSize()
public void setInitialSize(int initialSize)
public int getMaxSize()
public void setMaxSize(int maxSize)
public String getValidationQuery()
public void setValidationQuery(String validationQuery)
public io.r2dbc.spi.ValidationDepth getValidationDepth()
public void setValidationDepth(io.r2dbc.spi.ValidationDepth validationDepth)