<< Click to Display Table of Contents >>

ConnectionPoolStatus

ConnectionPool의 상태 정보를 제공하는 클래스입니다.


Member Variables

OK

public final static int OK

ConnectionPool 생성 성공

DRIVER_ERROR

public final static int DRIVER_ERROR

ConnectionPool을 생성하는데 필요한 JDBC 드라이버를 불러오는데 실패

CONNECTION_ERROR

public final static int CONNECTION_ERROR

ConnectionPool을 생성 중 DBMS에서 초기 연결 획득 실패


Method Detail

getStatusString

public String getStatusString()

현재 상태 메세지를 가져옵니다.

getStatus

public int getStatus()

현재 상태를 가져옵니다.

getFreeConnectionCount

public int getFreeConnectionCount()

프리 상태의 커넥션 수를 가져옵니다.

getCheckedOutConnectionCount

public int getCheckedOutConnectionCount()

Checked out된 커넥션 수를 가져옵니다.

getErrorMessage

public String getErrorMessage()

ConnectionPool 생성 시 발생한 Error 메시지를 가져옵니다.