charlesconnell commented on code in PR #8044:
URL: https://github.com/apache/hbase/pull/8044#discussion_r3114019176
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AdminOverAsyncAdmin.java:
##########
@@ -1153,6 +1153,26 @@ public List<String> getCachedFilesList(ServerName
serverName) throws IOException
return get(admin.getCachedFilesList(serverName));
}
+ @Override
+ public Long refreshMeta() throws IOException {
+ return get(admin.refreshMeta());
+ }
+
+ @Override
+ public Long refreshHFiles(final TableName tableName) throws IOException {
+ return get(admin.refreshHFiles(tableName));
+ }
+
+ @Override
+ public Long refreshHFiles(final String namespace) throws IOException {
+ return get(admin.refreshHFiles(namespace));
+ }
+
+ @Override
+ public Long refreshHFiles() throws IOException {
+ return get(admin.refreshHFiles());
+ }
Review Comment:
Perhaps these should return primitive `long`s? There is no need for them to
be null.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]