Class Neo4jProperties.Pool
java.lang.Object
org.springframework.boot.autoconfigure.neo4j.Neo4jProperties.Pool
- Enclosing class:
- Neo4jProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
void
setConnectionAcquisitionTimeout
(Duration connectionAcquisitionTimeout) void
setIdleTimeBeforeConnectionTest
(Duration idleTimeBeforeConnectionTest) void
setLogLeakedSessions
(boolean logLeakedSessions) void
setMaxConnectionLifetime
(Duration maxConnectionLifetime) void
setMaxConnectionPoolSize
(int maxConnectionPoolSize) void
setMetricsEnabled
(boolean metricsEnabled)
-
Constructor Details
-
Pool
public Pool()
-
-
Method Details
-
isLogLeakedSessions
public boolean isLogLeakedSessions() -
setLogLeakedSessions
public void setLogLeakedSessions(boolean logLeakedSessions) -
getMaxConnectionPoolSize
public int getMaxConnectionPoolSize() -
setMaxConnectionPoolSize
public void setMaxConnectionPoolSize(int maxConnectionPoolSize) -
getIdleTimeBeforeConnectionTest
-
setIdleTimeBeforeConnectionTest
-
getMaxConnectionLifetime
-
setMaxConnectionLifetime
-
getConnectionAcquisitionTimeout
-
setConnectionAcquisitionTimeout
-
isMetricsEnabled
public boolean isMetricsEnabled() -
setMetricsEnabled
public void setMetricsEnabled(boolean metricsEnabled)
-