xcangCRM commented on a change in pull request #754: HBASE-22978 : Online slow
response log
URL: https://github.com/apache/hbase/pull/754#discussion_r358513929
##########
File path: hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
##########
@@ -2262,4 +2262,28 @@ boolean snapshotCleanupSwitch(final boolean on, final
boolean synchronous)
*/
boolean isSnapshotCleanupEnabled() throws IOException;
+
+ /**
+ * Retrieve online slowlog responses from in memory ringbuffer maintained by
+ * RegionServers
+ *
+ * @param serverNames Server names to get slowlog responses from
+ * @return online slowlog response list
+ * @throws IOException if a remote or network exception occurs
+ */
+ List<SlowLogPayload> getSlowLogResponses(final List<ServerName> serverNames)
+ throws IOException;
+
+ /**
+ * Clears online slowlog response buffer maintained by RegionServers for all
+ * serverNames provided in the argument
+ *
+ * @param serverNames List of Server names to clean slowlog responses from
+ * @return List of booleans representing if onlinse slowlog response buffer
is cleaned
Review comment:
typo: onlinse
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services