Class AbstractConnection

java.lang.Object
com.infoteria.asteria.connection.AbstractConnection
All Implemented Interfaces:
Connection
Direct Known Subclasses:
CommonConnection, RDBConnection

public abstract class AbstractConnection extends Object implements Connection
コネクション実装の基底クラスです。
  • Method Details

    • getEntry

      public ConnectionEntry getEntry()
      Description copied from interface: Connection
      ConnectionEntryを取得します。
      Specified by:
      getEntry in interface Connection
    • release

      public void release()
      Description copied from interface: Connection
      コネクションを解放します。
      Specified by:
      release in interface Connection
    • canUse

      public boolean canUse(User user)
      Description copied from interface: Connection
      コネクションが引数のuserに使用可能かどうかを返します。
      Specified by:
      canUse in interface Connection
    • incUseCount

      public int incUseCount()
      コネクション使用回数をインクリメントします。
      Specified by:
      incUseCount in interface Connection
    • getUseCount

      public int getUseCount()
      コネクション使用回数を取得します。
      Specified by:
      getUseCount in interface Connection