Class JasyncPoolConfiguration


  • @ConfigurationProperties("jasync.client")
    public class JasyncPoolConfiguration
    extends Object
    The configuration class for Jasync Client.
    Since:
    1.0
    Author:
    oshai
    • Field Detail

      • jasyncOptions

        @ConfigurationBuilder
        protected com.github.jasync.sql.db.ConnectionPoolConfigurationBuilder jasyncOptions
    • Constructor Detail

      • JasyncPoolConfiguration

        @Deprecated
        public JasyncPoolConfiguration()
        Deprecated.
        Default constructor.
      • JasyncPoolConfiguration

        @Inject
        protected JasyncPoolConfiguration​(@Nullable
                                          JasyncPoolConfiguration.JasyncSslConfiguration sslConfiguration,
                                          @Nullable
                                          List<com.github.jasync.sql.db.interceptor.QueryInterceptor> queryInterceptors)
        Injected constructor.
        Parameters:
        sslConfiguration - The SSL config
        queryInterceptors - Query Interceptors
    • Method Detail

      • getJasyncOptions

        public com.github.jasync.sql.db.ConnectionPoolConfiguration getJasyncOptions()
        Returns:
        The options for configuring a connection pool.