com.bigdata.service
Class ResourceService.Counters

java.lang.Object
  extended by com.bigdata.service.ResourceService.Counters
Enclosing class:
ResourceService

public static class ResourceService.Counters
extends Object

Performance counters for the ResourceService.

TODO:
could also monitor the accept and request thread pools. The latter is the more interesting from a workload perspective.

Field Summary
 CAT bytesWritten
          #of data bytes sent.
 CAT denyCount
          #of requests which are denied.
 CAT elapsedWriteNanos
          #of nanoseconds sending data (this will double count time for data that are served concurrently to different receivers).
 CAT internalErrorCount
          #of requests which end in an internal error.
 long maxWriteSize
          The largest response written so far.
 CAT notFoundCount
          #of requests for which the resource was not found.
 CAT nwrites
          #of responses where we attempt to write the data on the socket.
 CAT requestCount
          #of requests.
 CAT writeErrorCount
          #of errors for responses where we attempt to write the requested data on the socket.
 
Constructor Summary
ResourceService.Counters()
           
 
Method Summary
 CounterSet getCounters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestCount

public final CAT requestCount
#of requests.


denyCount

public final CAT denyCount
#of requests which are denied.


notFoundCount

public final CAT notFoundCount
#of requests for which the resource was not found.


internalErrorCount

public final CAT internalErrorCount
#of requests which end in an internal error.


writeErrorCount

public final CAT writeErrorCount
#of errors for responses where we attempt to write the requested data on the socket.


nwrites

public final CAT nwrites
#of responses where we attempt to write the data on the socket.


bytesWritten

public final CAT bytesWritten
#of data bytes sent.


maxWriteSize

public long maxWriteSize
The largest response written so far.


elapsedWriteNanos

public final CAT elapsedWriteNanos
#of nanoseconds sending data (this will double count time for data that are served concurrently to different receivers).

Constructor Detail

ResourceService.Counters

public ResourceService.Counters()
Method Detail

getCounters

public CounterSet getCounters()


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.