Class MySQLPool


  • public class MySQLPool
    extends Pool
    A of MySQL Connections.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • MySQLPool

        public MySQLPool​(io.vertx.mysqlclient.MySQLPool delegate)
      • MySQLPool

        public MySQLPool​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.mysqlclient.MySQLPool getDelegate()
        Overrides:
        getDelegate in class Pool
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Pool
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Pool
      • pool

        public static MySQLPool pool​(String connectionUri)
        Parameters:
        connectionUri -
        Returns:
      • pool

        public static MySQLPool pool​(String connectionUri,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        connectionUri -
        options -
        Returns:
      • pool

        public static MySQLPool pool​(Vertx vertx,
                                     String connectionUri)
        Parameters:
        vertx -
        connectionUri -
        Returns:
      • pool

        public static MySQLPool pool​(Vertx vertx,
                                     String connectionUri,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        vertx -
        connectionUri -
        options -
        Returns:
      • pool

        public static MySQLPool pool​(io.vertx.mysqlclient.MySQLConnectOptions database,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        database - the options for the connection
        options - the options for creating the pool
        Returns:
        the connection pool
      • pool

        public static MySQLPool pool​(Vertx vertx,
                                     io.vertx.mysqlclient.MySQLConnectOptions database,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        vertx -
        database -
        options -
        Returns:
      • pool

        public static MySQLPool pool​(List<io.vertx.mysqlclient.MySQLConnectOptions> databases,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        databases - the list of servers
        options - the options for creating the pool
        Returns:
        the connection pool
      • pool

        public static MySQLPool pool​(Vertx vertx,
                                     List<io.vertx.mysqlclient.MySQLConnectOptions> databases,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        vertx -
        databases -
        options -
        Returns:
      • client

        public static SqlClient client​(String connectionUri)
        Parameters:
        connectionUri -
        Returns:
      • client

        public static SqlClient client​(String connectionUri,
                                       io.vertx.sqlclient.PoolOptions poolOptions)
        Parameters:
        connectionUri -
        poolOptions -
        Returns:
      • client

        public static SqlClient client​(Vertx vertx,
                                       String connectionUri)
        Parameters:
        vertx -
        connectionUri -
        Returns:
      • client

        public static SqlClient client​(Vertx vertx,
                                       String connectionUri,
                                       io.vertx.sqlclient.PoolOptions poolOptions)
        Parameters:
        vertx -
        connectionUri -
        poolOptions -
        Returns:
      • client

        public static SqlClient client​(io.vertx.mysqlclient.MySQLConnectOptions connectOptions,
                                       io.vertx.sqlclient.PoolOptions poolOptions)
        Parameters:
        connectOptions -
        poolOptions - the options for creating the backing pool
        Returns:
        the client
      • client

        public static SqlClient client​(Vertx vertx,
                                       io.vertx.mysqlclient.MySQLConnectOptions connectOptions,
                                       io.vertx.sqlclient.PoolOptions poolOptions)
        Parameters:
        vertx -
        connectOptions -
        poolOptions -
        Returns:
      • client

        public static SqlClient client​(Vertx vertx,
                                       List<io.vertx.mysqlclient.MySQLConnectOptions> mySQLConnectOptions,
                                       io.vertx.sqlclient.PoolOptions options)
        Parameters:
        vertx -
        mySQLConnectOptions -
        options -
        Returns:
      • client

        public static SqlClient client​(List<io.vertx.mysqlclient.MySQLConnectOptions> databases,
                                       io.vertx.sqlclient.PoolOptions options)
        Parameters:
        databases - the list of databases
        options - the options for creating the pool
        Returns:
        the pooled client
      • pool

        public static MySQLPool pool​(Supplier<io.smallrye.mutiny.Uni<io.vertx.mysqlclient.MySQLConnectOptions>> databases,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        databases - the server supplier
        options - the options for creating the pool
        Returns:
        the connection pool
      • pool

        public static MySQLPool pool​(Vertx vertx,
                                     Supplier<io.smallrye.mutiny.Uni<io.vertx.mysqlclient.MySQLConnectOptions>> databases,
                                     io.vertx.sqlclient.PoolOptions options)
        Parameters:
        vertx -
        databases -
        options -
        Returns:
      • client

        public static SqlClient client​(Vertx vertx,
                                       Supplier<io.smallrye.mutiny.Uni<io.vertx.mysqlclient.MySQLConnectOptions>> mySQLConnectOptions,
                                       io.vertx.sqlclient.PoolOptions options)
        Parameters:
        vertx -
        mySQLConnectOptions -
        options -
        Returns:
      • client

        public static SqlClient client​(Supplier<io.smallrye.mutiny.Uni<io.vertx.mysqlclient.MySQLConnectOptions>> databases,
                                       io.vertx.sqlclient.PoolOptions options)
        Parameters:
        databases - the databases supplier
        options - the options for creating the pool
        Returns:
        the pooled client
      • newInstance

        public static MySQLPool newInstance​(io.vertx.mysqlclient.MySQLPool arg)