com.landawn.abacus.dataSource.ConnectionManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of abacus-android Show documentation
Show all versions of abacus-android Show documentation
A general and simple library for Android
/*
* 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();
}