Class Neo4jConfiguration.Pool

    • Field Detail

      • metricsEnabled

        @ConfigItem(name="metrics.enabled")
        public boolean metricsEnabled
        Flag, if metrics are enabled.
      • logLeakedSessions

        @ConfigItem
        public boolean logLeakedSessions
        Flag, if leaked sessions logging is enabled.
      • maxConnectionPoolSize

        @ConfigItem(defaultValue="100")
        public int maxConnectionPoolSize
        The maximum amount of connections in the connection pool towards a single database.
      • idleTimeBeforeConnectionTest

        @ConfigItem(defaultValue="-0.001S")
        public Duration idleTimeBeforeConnectionTest
        Pooled connections that have been idle in the pool for longer than this timeout will be tested before they are used again. The value 0 means connections will always be tested for validity and negative values mean connections will never be tested.
      • maxConnectionLifetime

        @ConfigItem(defaultValue="1H")
        public Duration maxConnectionLifetime
        Pooled connections older than this threshold will be closed and removed from the pool.
      • connectionAcquisitionTimeout

        @ConfigItem(defaultValue="1M")
        public Duration connectionAcquisitionTimeout
        Acquisition of new connections will be attempted for at most configured timeout.
    • Constructor Detail

      • Pool

        Pool()