com.bigdata.service.ndx
Class ScaleOutIndexCounters

java.lang.Object
  extended by com.bigdata.service.ndx.ScaleOutIndexCounters

public class ScaleOutIndexCounters
extends Object

Counters pertaining to a scale-out index. The IScaleOutClientIndex has two APIs. One is synchronous RPC. The other is an asynchronous stream oriented API for writes. Both sets of performance counters are available from this class.

Version:
$Id: ScaleOutIndexCounters.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
 IndexAsyncWriteStats asynchronousStats
          These counters are used only for the asynchronous write pipeline.
 IndexSyncRPCCounters synchronousCounters
          These counters are used for the synchronous RPC calls (reads and writes).
 
Constructor Summary
ScaleOutIndexCounters(AbstractFederation fed)
           
 
Method Summary
 CounterSet getCounters()
          Return a new CounterSet reporting both the IndexSyncRPCCounters and the IndexAsyncWriteStats for this index.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

asynchronousStats

public final IndexAsyncWriteStats asynchronousStats
These counters are used only for the asynchronous write pipeline.


synchronousCounters

public final IndexSyncRPCCounters synchronousCounters
These counters are used for the synchronous RPC calls (reads and writes).

Constructor Detail

ScaleOutIndexCounters

public ScaleOutIndexCounters(AbstractFederation fed)
Method Detail

getCounters

public CounterSet getCounters()
Return a new CounterSet reporting both the IndexSyncRPCCounters and the IndexAsyncWriteStats for this index.

TODO:
While this reports several averages, most of them are not moving averages but averages over the life of the client. They should be sampled and converted into moving averages.

toString

public String toString()
Overrides:
toString in class Object


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