Package org.eclipse.rdf4j.spring.pool
Class PoolProperties
java.lang.Object
org.eclipse.rdf4j.spring.pool.PoolProperties
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
void
setEnabled
(boolean enabled) void
setMaxConnections
(int maxConnections) void
setMinIdleConnections
(int minIdleConnections) void
setTestWhileIdle
(boolean testWhileIdle) void
setTimeBetweenEvictionRuns
(Duration timeBetweenEvictionRuns)
-
Constructor Details
-
PoolProperties
public PoolProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getMaxConnections
public int getMaxConnections() -
setMaxConnections
public void setMaxConnections(int maxConnections) -
getMinIdleConnections
public int getMinIdleConnections() -
setMinIdleConnections
public void setMinIdleConnections(int minIdleConnections) -
getTimeBetweenEvictionRuns
-
setTimeBetweenEvictionRuns
-
isTestWhileIdle
public boolean isTestWhileIdle() -
setTestWhileIdle
public void setTestWhileIdle(boolean testWhileIdle)
-