Class MySQLPool

All Implemented Interfaces:
MutinyDelegate

@Deprecated public class MySQLPool extends Pool implements MutinyDelegate
Deprecated.
A of MySQL Connections.

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

  • Field Details

  • Constructor Details

    • MySQLPool

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

      public MySQLPool(Object delegate)
      Deprecated.
  • Method Details

    • getDelegate

      public io.vertx.mysqlclient.MySQLPool getDelegate()
      Deprecated.
      Specified by:
      getDelegate in interface MutinyDelegate
      Overrides:
      getDelegate in class Pool
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Pool
    • equals

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

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

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

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

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

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

      public static MySQLPool pool(io.vertx.mysqlclient.MySQLConnectOptions database, io.vertx.sqlclient.PoolOptions options)
      Deprecated.
      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)
      Deprecated.
      Parameters:
      vertx -
      database -
      options -
      Returns:
    • pool

      public static MySQLPool pool(List<io.vertx.mysqlclient.MySQLConnectOptions> databases, io.vertx.sqlclient.PoolOptions options)
      Deprecated.
      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)
      Deprecated.
      Parameters:
      vertx -
      databases -
      options -
      Returns:
    • client

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

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

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

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

      public static SqlClient client(io.vertx.mysqlclient.MySQLConnectOptions connectOptions, io.vertx.sqlclient.PoolOptions poolOptions)
      Deprecated.
      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)
      Deprecated.
      Parameters:
      vertx -
      connectOptions -
      poolOptions -
      Returns:
    • client

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

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

      public MySQLPool connectHandler(Consumer<SqlConnection> handler)
      Deprecated.
      Overrides:
      connectHandler in class Pool
      Parameters:
      handler - the handler
      Returns:
    • connectionProvider

      public MySQLPool connectionProvider(Function<Context,io.smallrye.mutiny.Uni<SqlConnection>> provider)
      Deprecated.
      Overrides:
      connectionProvider in class Pool
      Parameters:
      provider - the new connection provider
      Returns:
      a reference to this, so the API can be used fluently
    • pool

      public static MySQLPool pool(Supplier<io.smallrye.mutiny.Uni<io.vertx.mysqlclient.MySQLConnectOptions>> databases, io.vertx.sqlclient.PoolOptions options)
      Deprecated.
      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)
      Deprecated.
      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)
      Deprecated.
      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)
      Deprecated.
      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)
      Deprecated.