public class FiberManagedDataSource extends FiberDataSource implements io.dropwizard.db.ManagedDataSource
| Modifier | Constructor and Description |
|---|---|
protected |
FiberManagedDataSource(io.dropwizard.db.ManagedDataSource ds,
ListeningExecutorService exec) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
void |
stop() |
static io.dropwizard.db.ManagedDataSource |
wrap(io.dropwizard.db.ManagedDataSource ds,
ExecutorService executor) |
static io.dropwizard.db.ManagedDataSource |
wrap(io.dropwizard.db.ManagedDataSource ds,
int numThreads) |
equals, getConnection, getConnection, getLoginTimeout, getLogWriter, getParentLogger, hashCode, isWrapperFor, setLoginTimeout, setLogWriter, toString, unwrap, wrap, wrap, wrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetConnection, getConnectiongetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterisWrapperFor, unwrapprotected FiberManagedDataSource(io.dropwizard.db.ManagedDataSource ds,
ListeningExecutorService exec)
public static io.dropwizard.db.ManagedDataSource wrap(io.dropwizard.db.ManagedDataSource ds,
int numThreads)
public static io.dropwizard.db.ManagedDataSource wrap(io.dropwizard.db.ManagedDataSource ds,
ExecutorService executor)
public void start()
throws Exception
start in interface io.dropwizard.lifecycle.ManagedException