public interface ConnectionFactory extends Closeable
| Modifier and Type | Method and Description |
|---|---|
static EventLoopContext |
asEventLoopContext(ContextInternal ctx) |
default void |
close(Promise<Void> promise)
Close this resource, the
completion promise must be notified when the operation has completed. |
void |
connect(Promise<Connection> promise)
Connect to the database and returns a connection.
|
static EventLoopContext asEventLoopContext(ContextInternal ctx)
void connect(Promise<Connection> promise)
Copyright © 2021. All rights reserved.