Package org.apache.tomcat.dbcp.dbcp2
Interface PoolableConnectionMXBean
- 
- All Known Implementing Classes:
- PoolableConnection,- PoolableManagedConnection
 
 public interface PoolableConnectionMXBeanDefines the attributes and methods that will be exposed via JMX forPoolableConnectioninstances.- Since:
- 2.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearCachedState()voidclearWarnings()voidclose()booleangetAutoCommit()booleangetCacheState()java.lang.StringgetCatalog()intgetHoldability()java.lang.StringgetSchema()java.lang.StringgetToString()intgetTransactionIsolation()booleanisClosed()booleanisReadOnly()voidreallyClose()voidsetAutoCommit(boolean autoCommit)voidsetCacheState(boolean cacheState)voidsetCatalog(java.lang.String catalog)voidsetHoldability(int holdability)voidsetReadOnly(boolean readOnly)voidsetSchema(java.lang.String schema)voidsetTransactionIsolation(int level)
 
- 
- 
- 
Method Detail- 
clearCachedStatevoid clearCachedState() 
 - 
clearWarningsvoid clearWarnings() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
closevoid close() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
getAutoCommitboolean getAutoCommit() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
getCacheStateboolean getCacheState() 
 - 
getCatalogjava.lang.String getCatalog() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
getHoldabilityint getHoldability() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
getSchemajava.lang.String getSchema() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
getToStringjava.lang.String getToString() 
 - 
getTransactionIsolationint getTransactionIsolation() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
isClosedboolean isClosed() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
isReadOnlyboolean isReadOnly() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
reallyClosevoid reallyClose() throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
setAutoCommitvoid setAutoCommit(boolean autoCommit) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
setCacheStatevoid setCacheState(boolean cacheState) 
 - 
setCatalogvoid setCatalog(java.lang.String catalog) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
setHoldabilityvoid setHoldability(int holdability) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
setReadOnlyvoid setReadOnly(boolean readOnly) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
setSchemavoid setSchema(java.lang.String schema) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 - 
setTransactionIsolationvoid setTransactionIsolation(int level) throws java.sql.SQLException- Throws:
- java.sql.SQLException
 
 
- 
 
-