Skip to content

Commit

Permalink
rename 'recent' to 'latest' for unrelated API
Browse files Browse the repository at this point in the history
  • Loading branch information
scottsand-db committed Jan 5, 2024
1 parent 68dfd8a commit 2d368b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ public Protocol getProtocol() {
* exists for this application.
*/
public Optional<Long> getLatestTransactionVersion(String applicationId) {
return logReplay.getRecentTransactionIdentifier(applicationId);
return logReplay.getLatestTransactionIdentifier(applicationId);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public Metadata getMetadata() {
return this.protocolAndMetadata._2;
}

public Optional<Long> getRecentTransactionIdentifier(String applicationId) {
return loadRecentTransactionVersion(applicationId);
public Optional<Long> getLatestTransactionIdentifier(String applicationId) {
return loadLatestTransactionVersion(applicationId);
}

/**
Expand Down Expand Up @@ -269,7 +269,7 @@ private Tuple2<Protocol, Metadata> loadTableProtocolAndMetadata(
);
}

private Optional<Long> loadRecentTransactionVersion(String applicationId) {
private Optional<Long> loadLatestTransactionVersion(String applicationId) {
try (CloseableIterator<ActionWrapper> reverseIter =
new ActionsIterator(
tableClient,
Expand Down

0 comments on commit 2d368b5

Please sign in to comment.