Package com.infoteria.asteria.connection
Class AbstractConnection
java.lang.Object
com.infoteria.asteria.connection.AbstractConnection
- All Implemented Interfaces:
Connection
- Direct Known Subclasses:
CommonConnection,RDBConnection
コネクション実装の基底クラスです。
-
Method Summary
-
Method Details
-
getEntry
Description copied from interface:ConnectionConnectionEntryを取得します。- Specified by:
getEntryin interfaceConnection
-
release
public void release()Description copied from interface:Connectionコネクションを解放します。- Specified by:
releasein interfaceConnection
-
canUse
Description copied from interface:Connectionコネクションが引数のuserに使用可能かどうかを返します。- Specified by:
canUsein interfaceConnection
-
incUseCount
public int incUseCount()コネクション使用回数をインクリメントします。- Specified by:
incUseCountin interfaceConnection
-
getUseCount
public int getUseCount()コネクション使用回数を取得します。- Specified by:
getUseCountin interfaceConnection
-