|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.util.concurrent.TaskCounters
com.bigdata.service.ndx.IndexSyncRPCCounters
public class IndexSyncRPCCounters
Counters used for sync RPC on scale-out indices.
| Field Summary | |
|---|---|
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 ( StaleLocatorExceptions) that were handled. |
long |
requestCount
The #of requests which have been submitted. |
| Fields inherited from class com.bigdata.util.concurrent.TaskCounters |
|---|
checkpointNanoTime, interArrivalNanoTime, lastArrivalNanoTime, queueWaitingNanoTime, queuingNanoTime, serviceNanoTime, taskCompleteCount, taskFailCount, taskSubmitCount, taskSuccessCount |
| Constructor Summary | |
|---|---|
IndexSyncRPCCounters()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.bigdata.util.concurrent.TaskCounters |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long redirectCount
StaleLocatorExceptions) that were handled.
public long requestCount
public long elementsOut
public long pointRequestCount
public long keyRangeRequestCount
public long keyArrayRequestCount
public long readOnlyRequestCount
| Constructor Detail |
|---|
public IndexSyncRPCCounters()
| Method Detail |
|---|
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()
TaskCountersTaskCounters.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||