|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplayableConnection
Nested Class Summary | |
---|---|
static class |
ReplayableConnection.StatisticsReportType Statistics report type. |
Method Summary | |
---|---|
void |
beginRequest() Declares that a request to the server is starting on this connection. |
void |
clearReplayStatistics(ReplayableConnection.StatisticsReportType reportType) Clears replay statistics accumulated so far. |
void |
disableReplay() Allows disabling replay at runtime on a per-connection basis. |
void |
endRequest() Declares that the request that was in progress on this connection has completed. |
ReplayStatistics |
getReplayStatistics(ReplayableConnection.StatisticsReportType reportType) Obtains replay statistics accumulated so far. |
Method Detail |
---|
void beginRequest() throws SQLException
SQLException
- When called with an open transaction on this connection.void endRequest() throws SQLException
SQLException
- When called with an open transaction on this connection.void disableReplay() throws SQLException
SQLException
ReplayStatistics getReplayStatistics(ReplayableConnection.StatisticsReportType reportType)
reportType
- The type of statistics report.ReplayStatistics#StatisticsReportType
, OracleDataSource.getReplayStatistics()
void clearReplayStatistics(ReplayableConnection.StatisticsReportType reportType)
reportType
- The type of statistics report.ReplayStatistics#StatisticsReportType
, ReplayStatistics#getReplayStatistics()
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |