edu.stanford.smi.protege.storage.database.pool
Class ConnectionInfo
java.lang.Object
edu.stanford.smi.protege.storage.database.pool.ConnectionInfo
public class ConnectionInfo
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionInfo
public ConnectionInfo(Connection connection)
getId
public int getId()
touch
public void touch()
- Synchronized by the connection pool.
getLastAccessTime
public long getLastAccessTime()
- Synchronized by the connection pool.
getInformedUserOfLongConnectionTime
public boolean getInformedUserOfLongConnectionTime()
setInformedUserOfLongConnectionTime
public void setInformedUserOfLongConnectionTime(boolean informedUserOfLongConnectionTime)
getConnectionCallStack
public Exception getConnectionCallStack()
setConnectionCallStack
public void setConnectionCallStack(Exception connectionCallStack)
getConnection
public Connection getConnection()
getPreparedStatement
public PreparedStatement getPreparedStatement(String text)
throws SQLException
- Throws:
SQLException
getStatement
public Statement getStatement()
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
closeStatements
public void closeStatements()
throws SQLException
- Throws:
SQLException
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.