databasesessionpool.java
来自「OR Mapping工具」· Java 代码 · 共 29 行
JAVA
29 行
/** * Title: DatabaseSessionPool <p> * Description: Pool of available database sessions.<p> * Copyright: Copyright (c) 2001 Paul Bethe and Richie Bielak<p> * @author Richie Bielak * @version 1.0 */package org.ephman.abra.database;public interface DatabaseSessionPool { /** * Get an available session from the pool. * * @return database session for use by a thread, null if none are available */ public DatabaseSession get(); /** * Return a session to the pool. * * @param session session to return to the pool * @throws an exception if the pool is filled up */ public void put (DatabaseSession session) throws Exception ;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?