Interface StatisticsProvider
- All Known Implementing Classes:
RecoveryStatistic
public interface StatisticsProvider
Recovery process statistics provider.
-
Method Summary
Modifier and TypeMethodDescriptionlongrecoveredPartitionsForTable(int tableId) Returns count of recovered partitions for specified table.longReturns count of recovered rows.longrecoveredRowsForPartition(int tableId, int partitionId) Returns count of recovered rows for specified partition and table.longrecoveredRowsForTable(int tableId) Returns count of recovered rows for specified table.longReturns count of recovered tables.longReturns time spend for recovery process in millis.longrecoveryTimeForPartition(int tableId, int partitionId) Returns time spend for recovery process in millis for specified partition and table.longrecoveryTimeForTable(int tableId) Returns time spend for recovery process in millis for specified table.
-
Method Details
-
recoveredTables
long recoveredTables()Returns count of recovered tables. -
recoveredPartitionsForTable
long recoveredPartitionsForTable(int tableId) Returns count of recovered partitions for specified table.- Parameters:
tableId- Table id.
-
recoveredRows
long recoveredRows()Returns count of recovered rows. -
recoveredRowsForTable
long recoveredRowsForTable(int tableId) Returns count of recovered rows for specified table.- Parameters:
tableId- Table id.
-
recoveredRowsForPartition
long recoveredRowsForPartition(int tableId, int partitionId) Returns count of recovered rows for specified partition and table.- Parameters:
tableId- Table id.partitionId- Partition id.
-
recoveryTime
long recoveryTime()Returns time spend for recovery process in millis. -
recoveryTimeForTable
long recoveryTimeForTable(int tableId) Returns time spend for recovery process in millis for specified table.- Parameters:
tableId- Table id.
-
recoveryTimeForPartition
long recoveryTimeForPartition(int tableId, int partitionId) Returns time spend for recovery process in millis for specified partition and table.- Parameters:
tableId- Table id.
-