Package org.apache.commons.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 TypeMethodDescriptionvoid
void
void
close()
boolean
boolean
int
int
boolean
isClosed()
boolean
void
void
setAutoCommit
(boolean autoCommit) void
setCacheState
(boolean cacheState) void
setCatalog
(String catalog) void
setHoldability
(int holdability) void
setReadOnly
(boolean readOnly) void
void
setTransactionIsolation
(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
-
getTransactionIsolation
- Throws:
SQLException
-
isClosed
- Throws:
SQLException
-
isReadOnly
- Throws:
SQLException
-
reallyClose
- Throws:
SQLException
-
setAutoCommit
- Throws:
SQLException
-
setCacheState
-
setCatalog
- Throws:
SQLException
-
setHoldability
- Throws:
SQLException
-
setReadOnly
- Throws:
SQLException
-
setSchema
- Throws:
SQLException
-
setTransactionIsolation
- Throws:
SQLException
-