lei-xia commented on a change in pull request #1413:
URL: https://github.com/apache/helix/pull/1413#discussion_r499740780
##########
File path:
helix-core/src/main/java/org/apache/helix/model/ParticipantHistory.java
##########
@@ -112,6 +129,22 @@ public long getLastOfflineTime() {
return offlineTime;
}
+ /**
+ * Get the time when this node last goes offline in history. If the node
does not have offline
+ * history or contains invalid date as the last element, return -1.
+ *
+ * @return
+ */
+ public long getLastTimeInOfflineHistory() {
Review comment:
What is difference this w/ getLastOfflineTime?
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]