public class IndexSyncRPCCounters extends TaskCounters
Modifier and Type | Field and Description |
---|---|
long |
elementsOut
The #of elements in a synchronous RPC request.
|
long |
keyArrayRequestCount
#of key-array requests issued (batch read or write operations).
|
long |
keyRangeRequestCount
#of key-range requests issued (generally these are range counts).
|
long |
pointRequestCount
#Of point requests issued (a single key).
|
long |
readOnlyRequestCount
#of read-only requests.
|
long |
redirectCount
The #of redirects (
StaleLocatorException s) that were handled. |
long |
requestCount
The #of requests which have been submitted.
|
checkpointNanoTime, interArrivalNanoTime, lastArrivalNanoTime, queueWaitingNanoTime, queuingNanoTime, serviceNanoTime, taskCompleteCount, taskFailCount, taskSubmitCount, taskSuccessCount
Constructor and Description |
---|
IndexSyncRPCCounters() |
Modifier and Type | Method and Description |
---|---|
double |
getAverageElementsPerRequest()
The average #of elements (tuples) per request.
|
double |
getAverageNanosPerRequest()
The average #of nanoseconds per request.
|
CounterSet |
getCounters()
Note: The elapsed time counters (
TaskCounters.queueWaitingNanoTime ,
TaskCounters.serviceNanoTime , and TaskCounters.queuingNanoTime ) are reported as
cumulative milliseconds by this method. |
toString
public long redirectCount
StaleLocatorException
s) that were handled.public long requestCount
public long elementsOut
public long pointRequestCount
public long keyRangeRequestCount
public long keyArrayRequestCount
public long readOnlyRequestCount
public double getAverageNanosPerRequest()
public double getAverageElementsPerRequest()
elementsOut
and requestCount
are incremented when the
request is submitted, this reflects both the completed requests and any
requests which might be outstanding.public CounterSet getCounters()
TaskCounters
TaskCounters.queueWaitingNanoTime
,
TaskCounters.serviceNanoTime
, and TaskCounters.queuingNanoTime
) are reported as
cumulative milliseconds by this method. These data are turned
into moving averages by the ThreadPoolExecutorStatisticsTask
.getCounters
in class TaskCounters
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.