Class MySQLClientFactory


  • @Factory
    public class MySQLClientFactory
    extends java.lang.Object
    The Factory for creating Vertx MySQL client.
    • Constructor Summary

      Constructors 
      Constructor Description
      MySQLClientFactory​(MySQLClientConfiguration connectionConfiguration, io.vertx.reactivex.core.Vertx vertx)
      Create the factory with given MySQL Client configuration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.vertx.reactivex.mysqlclient.MySQLPool client()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MySQLClientFactory

        public MySQLClientFactory​(MySQLClientConfiguration connectionConfiguration,
                                  @Nullable
                                  io.vertx.reactivex.core.Vertx vertx)
        Create the factory with given MySQL Client configuration.
        Parameters:
        connectionConfiguration - The MySQL ClientOption configurations
        vertx - The vertx instance
    • Method Detail

      • client

        @Singleton
        @Bean(preDestroy="close")
        public io.vertx.reactivex.mysqlclient.MySQLPool client()
        Returns:
        client A pool of connections.