Package org.apache.tomcat.dbcp.dbcp2
Interface PoolableConnectionMXBean
- All Known Implementing Classes:
- PoolableConnection,- PoolableManagedConnection
public interface PoolableConnectionMXBean
Defines the attributes and methods that will be exposed via JMX for 
PoolableConnection instances.- Since:
- 2.0
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidvoidclose()booleanbooleanintintbooleanisClosed()booleanvoidvoidsetAutoCommit(boolean autoCommit) voidsetCacheState(boolean cacheState) voidsetCatalog(String catalog) voidsetHoldability(int holdability) voidsetReadOnly(boolean readOnly) voidvoidsetTransactionIsolation(int level) 
- 
Method Details- 
clearCachedStatevoid clearCachedState()
- 
clearWarnings- Throws:
- SQLException
 
- 
close- Throws:
- SQLException
 
- 
getAutoCommit- Throws:
- SQLException
 
- 
getCacheStateboolean getCacheState()
- 
getCatalog- Throws:
- SQLException
 
- 
getHoldability- Throws:
- SQLException
 
- 
getSchema- Throws:
- SQLException
 
- 
getToStringString getToString()
- 
getTransactionIsolation- Throws:
- SQLException
 
- 
isClosed- Throws:
- SQLException
 
- 
isReadOnly- Throws:
- SQLException
 
- 
reallyClose- Throws:
- SQLException
 
- 
setAutoCommit- Throws:
- SQLException
 
- 
setCacheStatevoid setCacheState(boolean cacheState) 
- 
setCatalog- Throws:
- SQLException
 
- 
setHoldability- Throws:
- SQLException
 
- 
setReadOnly- Throws:
- SQLException
 
- 
setSchema- Throws:
- SQLException
 
- 
setTransactionIsolation- Throws:
- SQLException
 
 
-