public static class Neo4jProperties.Pool extends Object
Constructor and Description |
---|
Pool() |
Modifier and Type | Method and Description |
---|---|
Duration |
getConnectionAcquisitionTimeout() |
Duration |
getIdleTimeBeforeConnectionTest() |
Duration |
getMaxConnectionLifetime() |
int |
getMaxConnectionPoolSize() |
boolean |
isLogLeakedSessions() |
boolean |
isMetricsEnabled() |
void |
setConnectionAcquisitionTimeout(Duration connectionAcquisitionTimeout) |
void |
setIdleTimeBeforeConnectionTest(Duration idleTimeBeforeConnectionTest) |
void |
setLogLeakedSessions(boolean logLeakedSessions) |
void |
setMaxConnectionLifetime(Duration maxConnectionLifetime) |
void |
setMaxConnectionPoolSize(int maxConnectionPoolSize) |
void |
setMetricsEnabled(boolean metricsEnabled) |
public boolean isLogLeakedSessions()
public void setLogLeakedSessions(boolean logLeakedSessions)
public int getMaxConnectionPoolSize()
public void setMaxConnectionPoolSize(int maxConnectionPoolSize)
public Duration getIdleTimeBeforeConnectionTest()
public void setIdleTimeBeforeConnectionTest(Duration idleTimeBeforeConnectionTest)
public Duration getMaxConnectionLifetime()
public void setMaxConnectionLifetime(Duration maxConnectionLifetime)
public Duration getConnectionAcquisitionTimeout()
public void setConnectionAcquisitionTimeout(Duration connectionAcquisitionTimeout)
public boolean isMetricsEnabled()
public void setMetricsEnabled(boolean metricsEnabled)