public class RecordingSqlSessionFactory extends SqlSessionFactoryDecorator
Constructor and Description |
---|
RecordingSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory delegate) |
Modifier and Type | Method and Description |
---|---|
int |
decreaseSessionCount() |
int |
getSessionCount() |
int |
increaseSessionCount() |
org.apache.ibatis.session.SqlSession |
openSession() |
org.apache.ibatis.session.SqlSession |
openSession(boolean autoCommit) |
org.apache.ibatis.session.SqlSession |
openSession(Connection connection) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType,
boolean autoCommit) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType,
Connection connection) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.ExecutorType execType,
org.apache.ibatis.session.TransactionIsolationLevel level) |
org.apache.ibatis.session.SqlSession |
openSession(org.apache.ibatis.session.TransactionIsolationLevel level) |
getConfiguration, getDelegate
public RecordingSqlSessionFactory(@Nonnull org.apache.ibatis.session.SqlSessionFactory delegate)
public int increaseSessionCount()
public int decreaseSessionCount()
public int getSessionCount()
public org.apache.ibatis.session.SqlSession openSession()
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator
public org.apache.ibatis.session.SqlSession openSession(boolean autoCommit)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator
public org.apache.ibatis.session.SqlSession openSession(Connection connection)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.TransactionIsolationLevel level)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, boolean autoCommit)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, org.apache.ibatis.session.TransactionIsolationLevel level)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, Connection connection)
openSession
in interface org.apache.ibatis.session.SqlSessionFactory
openSession
in class SqlSessionFactoryDecorator