com.bigdata.service.ndx
Class ScaleOutIndexCounters
java.lang.Object
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
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).
ScaleOutIndexCounters
public ScaleOutIndexCounters(AbstractFederation fed)
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.