Package org.apache.tomcat.dbcp.dbcp2
Interface PoolableConnectionMXBean
- All Known Implementing Classes:
PoolableConnection
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
-
isClosed
- Throws:
SQLException
-
getToString
String getToString() -
getAutoCommit
- Throws:
SQLException
-
setAutoCommit
- Throws:
SQLException
-
getCacheState
boolean getCacheState() -
setCacheState
void setCacheState(boolean cacheState) -
getCatalog
- Throws:
SQLException
-
setCatalog
- Throws:
SQLException
-
getHoldability
- Throws:
SQLException
-
setHoldability
- Throws:
SQLException
-
isReadOnly
- Throws:
SQLException
-
setReadOnly
- Throws:
SQLException
-
getSchema
- Throws:
SQLException
-
setSchema
- Throws:
SQLException
-
getTransactionIsolation
- Throws:
SQLException
-
setTransactionIsolation
- Throws:
SQLException
-
clearCachedState
void clearCachedState() -
clearWarnings
- Throws:
SQLException
-
close
- Throws:
SQLException
-
reallyClose
- Throws:
SQLException
-