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

com.landawn.abacus.dataSource.ConnectionManager Maven / Gradle / Ivy

There is a newer version: 1.10.1
Show newest version
/*
 * Copyright (c) 2015, Haiyang Li. All rights reserved.
 */

package com.landawn.abacus.dataSource;

import java.sql.Connection;
import java.util.Map;
import java.util.Properties;

/**
 * 
 * @since 0.8
 * 
 * @author Haiyang Li
 */
public interface ConnectionManager {

    Map getProperties();

    Properties getConnectionProperties();

    void updateLastSQLExecutionFailureTime();

    int getMaxActive();

    int getNumActive();

    Connection getConnection();

    void closeConnection(Connection conn);

    void detroyConnection(Connection conn);

    void close();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy