Amend HBASE-24350: Extending and Fixing HBaseTable level replication metrics (#1704)

- Rename WALEntryBatch#getWaEntriesWithSize -> getWalEntriesWithSize
This commit is contained in:
Andrew Purtell 2020-05-14 13:41:56 -07:00
parent 7e295e767f
commit 94f36fdb8e
No known key found for this signature in database
GPG Key ID: 8597754DD5365CCD
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ public class ReplicationSourceShipper extends Thread {
entryBatch.getNbHFiles());
source.getSourceMetrics().setAgeOfLastShippedOp(
entries.get(entries.size() - 1).getKey().getWriteTime(), walGroupId);
source.getSourceMetrics().updateTableLevelMetrics(entryBatch.getWaEntriesWithSize());
source.getSourceMetrics().updateTableLevelMetrics(entryBatch.getWalEntriesWithSize());
if (LOG.isTraceEnabled()) {
LOG.debug("Replicated {} entries or {} operations in {} ms",

View File

@ -83,7 +83,7 @@ class WALEntryBatch {
/**
* @return the WAL Entries.
*/
public List<Pair<Entry, Long>> getWaEntriesWithSize() {
public List<Pair<Entry, Long>> getWalEntriesWithSize() {
return walEntriesWithSize;
}