<< Click to Display Table of Contents >>

ConnectionPoolInfo

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


Method Detail

getAlias

public String getAlias()

해당 ConnectionPool 정보의 Alias명을 가져옵니다.

setAlias

public void setAlias(String _alias)

해당 ConnectionPool 정보의 Alias를 설정합니다.

Parameters:

_alias - 설정할 Alias명

getVendor

public String getVendor()

해당 ConnectionPool 정보의 Vendor명을 가져옵니다.

setVendor

public void setVendor(String vendorName)

해당 ConnectionPool 정보의 Vendor명을 설정합니다.

Parameters:

vendorName - 설정할 DB Vendor명

getDriver

public String getDriver()

해당 ConnectionPool 정보의 Driver명을 가져옵니다.

setDriver

public void setDriver(String _driver)

해당 ConnectionPool 정보의 Driver명을 설정합니다.

Parameters:

_driver - 설정할 Driver명

getURL

public String getURL()

해당 ConnectionPool 정보의 URL을 가져옵니다.

setURL

public void setURL(String _url)

해당 ConnectionPool 정보의 URL를 설정합니다.

Parameters:

_url - 설정할 URL

getInitConns

public int getInitConns()

해당 ConnectionPool 정보의 초기 커넥션 개수를 가져옵니다.

setInitConns

public void setInitConns(int _initConns)

해당 ConnectionPool 정보의 초기 커넥션 개수를 설정합니다.

Parameters:

_initConns - 설정할 초기 연결 개수

getMaxConns

public int getMaxConns()

해당 ConnectionPool 최대 커넥션 개수를 가져옵니다.

setMaxConns

public void setMaxConns(int _maxConns)

해당 ConnectionPool 최대 커넥션 개수를 설정합니다.

Parameters:

_maxConns - 설정할 최대 커넥션 개수

getTimeout

public int getTimeout()

해당 커넥션을 가져올 때 timeout 시간을 가져옵니다.(단위: sec)

setTimeout

public void setTimeout(int _timeout)

해당 커넥션을 가져올 때 timeout 시간을 설정합니다.

Parameters:

_timeout - 설정할 timeout 시간

getDoConnectionCheck

public boolean getDoConnectionCheck()

커넥션 가져올 당시 커넥션이 유효한지 여부를 체크합니다.

setDoConnectionCheck

public void setDoConnectionCheck(boolean _check)

커넥션 가져올 당시 커넥션이 유효한지 여부를 체크할지 설정합니다.

Parameters:

_check - 체크 여부

getTestQueryString

public String getTestQueryString()

커넥션이 유효한지 체크하기 위한 쿼리문을 가져옵니다.

setTestQueryString

public void setTestQueryString(String _testQuery)

커넥션이 유효한지 체크하기 위한 쿼리문을 설정합니다.

Parameters:

_testQuery - 유효 여부 체크 쿼리문

getInitSqls

public String getInitSqls()

ConnectionPool에서 사용할 커넥션을 가져온 뒤 바로 실행하는 쿼리문을 가져옵니다.

setInitSqls

public void setInitSqls(String _initQuery)

ConnectionPool에서 사용할 커넥션을 가져온 뒤 바로 실행하는 쿼리문을 설정합니다.

Parameters:

_initQuery - 바로 실행할 쿼리문

getCloseSqls

public String getCloseSqls()

커넥션이 close또는 free되기 전 바로 실행하는 쿼리문을 가져옵니다.

setCloseSqls

public void setCloseSqls(String _closeQuery)

커넥션이 close또는 free되기 전 바로 실행하는 쿼리문을 설정합니다.

Parameters:

_closeQuery - close 쿼리문

getSessionQuery

public String getSessionQuery()

커넥션의 session 쿼리문을 가져옵니다.

setSessionQuery

public void setSessionQuery(String _sessionQuery)

커넥션의 session 쿼리문을 설정합니다.

Parameters:

_sessionQuery - session 쿼리문

getAutoCommit

public String getAutoCommit()

커넥션의 AutoCommit를 설정된 값을 가져옵니다.

setAutoCommit

public void setAutoCommit(String _commit)

커넥션의 AutoCommit 여부를 설정합니다.

Parameters:

_commit - AutoCommit 여부

getProperties

public Properties getProperties()

커넥션을 가져올 때 사용하는 Properties의 값을 가져옵니다.

setProperties

public void setProperties(Properties _props)

커넥션을 가져올 때 Properties의 값을 설정합니다.

Parameters:

_props - Properties의 값

getKey

public String getKey()

커넥션 Pool의 Key 값을 가져옵니다.

setKey

public void setKey(String _key)

커넥션의 Key 값을 설정합니다.

Parameters:

_key - key 값

getItems

public HashMap getItems()

dbconfig.xml 파일의 Vendor마다 있는 Items의 key와 Value를 가져옵니다.

setItems

public void setItems(String _map)

dbconfig.xml 파일의 Vendor마다 있는 Items의 key와 Value를 설정합니다.

Parameters:

_map - Key값

getDecodeCharSet

public void getDecodeCharSet()

해당 ConnectionPool에 대한 디코딩 셋을 가져옵니다.

setDecodeCharSet

public void setDecodeCharSet(String decode)

해당 ConnectionPool에 대한 디코딩 셋을 설정합니다.

Parameters:

decode - 디코딩 셋

getEncodeCharSet

public String getEncodeCharSet()

해당 ConnectionPool에 대한 인코딩 셋을 가져옵니다.

setEncodeCharSet

public void setEncodeCharSet(String encode)

해당 ConnectionPool에 대한 인코딩 셋을 설정합니다.

Parameters:

encode - 인코딩 셋

getFetchRow

public int getFetchRow()

결과 셋 반환 시 한꺼번에 가져올 수 있는 행 수를 가져옵니다.

setFetchRow

public void setFetchRow(int rows)

결과 셋 반환 시 한꺼번에 가져올 수 있는 행 수를 설정합니다.

Parameters:

rows - 행 수