public interface ReplayStatisticsMXBean
The statistics can be reported for a single data source, or across all driver data sources created at the time.
ReplayStatistics
Modifier and Type | Method and Description |
---|---|
String |
allStatistics()
Obtains replay statistics accumulated so far on all known driver
data source instances.
|
String |
getStatisticsForDataSource(String dataSourceName)
Obtains replay statistics accumulated so far on the specified driver
data source instance.
|
String allStatistics()
ReplayStatistics
String getStatisticsForDataSource(String dataSourceName)
setDataSourceName(String)
on
oracle.jdbc.datasource.OracleCommonDataSource
.
In case there are data sources with duplicate names, only one of the
data sources will be picked to return its statistics. The returned
String will indicate the presence of duplicate data source names.
In case no data source with the given name is found, the returned
String will indicate such error.
The statistics include:
dataSourceName
- The name of the specified data source.ReplayStatistics