public interface ReplayStatistics
getReplayStatistics
method on ReplayableConnection
is the API to obtain a ReplayStatistics
object.
There is an auxiliary method on OracleDataSource
as well.OracleDataSource
,
ReplayableConnection
Modifier and Type | Method | Description |
---|---|---|
int |
getCurrentRequestSize() |
Obtains the size of the current request, in terms of the number of
JDBC calls.
|
long |
getFailedReplayCount() |
Obtains the number of replays that failed.
|
long |
getReplayDisablingCount() |
Obtains the number of times that replay is disabled.
|
int[] |
getRequestSizeHistogram() |
Obtains a histogram of request sizes, in terms of the number of
JDBC calls in each request.
|
long |
getSuccessfulReplayCount() |
Obtains the number of replays that succeeded.
|
long |
getTotalCalls() |
Obtains the total number of JDBC calls executed so far.
|
long |
getTotalCallsAffectedByOutages() |
Obtains the number of JDBC calls affected by outages.
|
long |
getTotalCallsAffectedByOutagesDuringReplay() |
Obtains the number of JDBC calls affected by outages in the
middle of replay.
|
long |
getTotalCallsTriggeringReplay() |
Obtains the number of JDBC calls that triggered replay.
|
long |
getTotalCompletedRequests() |
Obtains the total number of completed requests so far.
|
long |
getTotalProtectedCalls() |
Obtains the total number of JDBC calls executed so far that
are protected by AC.
|
long |
getTotalReplayAttempts() |
Obtains the number of replay attempts.
|
long |
getTotalRequests() |
Obtains the total number of successfully submitted requests so far.
|
long getTotalRequests()
long getTotalCompletedRequests()
long getTotalCalls()
long getTotalProtectedCalls()
long getTotalCallsAffectedByOutages()
long getTotalCallsTriggeringReplay()
long getTotalCallsAffectedByOutagesDuringReplay()
long getSuccessfulReplayCount()
long getFailedReplayCount()
getNextException
to retrieve the reason.long getReplayDisablingCount()
long getTotalReplayAttempts()
int getCurrentRequestSize()
int[] getRequestSizeHistogram()
2^i
and 2^(i+1)-1
, where i ranges from 0 to array length - 1.