You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by mc...@apache.org on 2019/01/02 19:03:30 UTC

[incubator-pinot] 01/01: Added more getters to request statistics

This is an automated email from the ASF dual-hosted git repository.

mcvsubbu pushed a commit to branch more-stats
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 252d270990db41056ea26599244b702638b0ba7e
Author: Subbu Subramaniam <ss...@linkedin.com>
AuthorDate: Wed Jan 2 11:02:20 2019 -0800

    Added more getters to request statistics
---
 .../linkedin/pinot/broker/api/RequestStatistics.java    | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pinot-broker/src/main/java/com/linkedin/pinot/broker/api/RequestStatistics.java b/pinot-broker/src/main/java/com/linkedin/pinot/broker/api/RequestStatistics.java
index da7db2e..f6feb4d 100644
--- a/pinot-broker/src/main/java/com/linkedin/pinot/broker/api/RequestStatistics.java
+++ b/pinot-broker/src/main/java/com/linkedin/pinot/broker/api/RequestStatistics.java
@@ -44,6 +44,23 @@ public class RequestStatistics {
   private int _numExceptions;
   private String _brokerId;
   private long _requestId;
+
+  public String getBrokerId() {
+    return _brokerId;
+  }
+
+  public long getRequestId() {
+    return _requestId;
+  }
+
+  public long getRequestArrivalTimeMillis() {
+    return _requestArrivalTimeMillis;
+  }
+
+  public long getReduceTimeMillis() {
+    return _reduceTimeMillis;
+  }
+
   private long _requestArrivalTimeMillis;
   private long _reduceTimeMillis;
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org