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() |
Duration |
getMaxValidationTime() |
int |
getMinIdle() |
io.r2dbc.spi.ValidationDepth |
getValidationDepth() |
String |
getValidationQuery() |
boolean |
isEnabled() |
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) |
public int getMinIdle()
public void setMinIdle(int minIdle)
public Duration getMaxIdleTime()
public void setMaxIdleTime(Duration maxIdleTime)
public Duration getMaxLifeTime()
public void setMaxLifeTime(Duration maxLifeTime)
public Duration getMaxValidationTime()
public void setMaxValidationTime(Duration maxValidationTime)
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)
public boolean isEnabled()
public void setEnabled(boolean enabled)