All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.leanix.dropkit.persistence.pool.ManagedHikariDataSource Maven / Gradle / Ivy

There is a newer version: 2.0.5
Show newest version
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