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 Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclose()booleanbooleanintintbooleanisClosed()booleanvoidvoidsetAutoCommit(boolean autoCommit) voidsetCacheState(boolean cacheState) voidsetCatalog(String catalog) voidsetHoldability(int holdability) voidsetReadOnly(boolean readOnly) voidvoidsetTransactionIsolation(int level)
-
Method Details
-
clearCachedState
void clearCachedState() -
clearWarnings
- Throws:
SQLException
-
close
- Throws:
SQLException
-
getAutoCommit
- Throws:
SQLException
-
getCacheState
boolean getCacheState() -
getCatalog
- Throws:
SQLException
-
getHoldability
- Throws:
SQLException
-
getSchema
- Throws:
SQLException
-
getToString
String getToString() -
getTransactionIsolation
- Throws:
SQLException
-
isClosed
- Throws:
SQLException
-
isReadOnly
- Throws:
SQLException
-
reallyClose
- Throws:
SQLException
-
setAutoCommit
- Throws:
SQLException
-
setCacheState
void setCacheState(boolean cacheState) -
setCatalog
- Throws:
SQLException
-
setHoldability
- Throws:
SQLException
-
setReadOnly
- Throws:
SQLException
-
setSchema
- Throws:
SQLException
-
setTransactionIsolation
- Throws:
SQLException
-