@Factory
 @Requires(classes=com.github.jasync.sql.db.mysql.MySQLConnectionBuilder.class)
public class JasyncMySQLClientFactory
extends java.lang.Object
implements java.lang.AutoCloseable
| Constructor and Description | 
|---|
JasyncMySQLClientFactory(JasyncPoolConfiguration jasyncPoolConfiguration)
Create the factory with given Pool configuration. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
com.github.jasync.sql.db.Connection | 
client()
Create a connection pool to the database configured with the  
JasyncPoolConfiguration. | 
void | 
close()  | 
public JasyncMySQLClientFactory(JasyncPoolConfiguration jasyncPoolConfiguration)
jasyncPoolConfiguration - The Reactive Postgres configurations@Singleton public com.github.jasync.sql.db.Connection client()
JasyncPoolConfiguration.@PreDestroy public void close()
close in interface java.lang.AutoCloseable