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, wrap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConnection, getConnection
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
isWrapperFor, unwrap
protected 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.Managed
Exception