MySQLPool

A pool of MySQL connections.

Members

Static functions

pool
MySQLPool pool(MySQLConnectOptions connectOptions, PoolOptions poolOptions)

Like {@link #pool(MySQLConnectOptions, PoolOptions)} with a specific {@link Vertx} instance.

Inherited Members

From Pool

getConnection
SqlConnection getConnection()

Get a connection from the pool.

begin
Transaction begin()

Borrow a connection from the pool and begin a transaction, the underlying connection will be returned to the pool when the transaction ends.

close
void close()

Close the pool and release the associated resources.

available
int available()
Undocumented in source.
waiters
int waiters()
Undocumented in source.
maxSize
int maxSize()
Undocumented in source.
size
int size()
Undocumented in source.

Meta