public interface ReplayableConnection| Modifier and Type | Interface and Description |
|---|---|
static class |
ReplayableConnection.StatisticsReportType
Statistics report type.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
SQLExceptionReplayStatistics 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()