net.leanix.dropkit.persistence.pool.ManagedHikariDataSource Maven / Gradle / Ivy
package net.leanix.dropkit.persistence.pool;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import io.dropwizard.db.ManagedDataSource;
public class ManagedHikariDataSource extends HikariDataSource implements ManagedDataSource {
public ManagedHikariDataSource(final HikariConfig config) {
super(config);
}
@Override
public void start() throws Exception {
// no op
}
@Override
public void stop() throws Exception {
close();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy