Class SessionPoolOptions


  • public class SessionPoolOptions
    extends Object
    Options for the session pool used by DatabaseClient.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getMinSessions

        public int getMinSessions()
      • getMaxSessions

        public int getMaxSessions()
      • getWriteSessionsFraction

        @Deprecated
        public float getWriteSessionsFraction()
        Deprecated.
        This value is no longer used. The session pool does not prepare any sessions for read/write transactions. Instead, a transaction will be started by including a BeginTransaction option with the first statement of a transaction. This method may be removed in a future release.
      • getKeepAliveIntervalMinutes

        public int getKeepAliveIntervalMinutes()
      • getRemoveInactiveSessionAfter

        public org.threeten.bp.Duration getRemoveInactiveSessionAfter()
      • isFailIfPoolExhausted

        public boolean isFailIfPoolExhausted()
      • isBlockIfPoolExhausted

        public boolean isBlockIfPoolExhausted()
      • isAutoDetectDialect

        public boolean isAutoDetectDialect()