public class AbstractRunnableMasterStats<L,HS extends AbstractSubtaskStats> extends AbstractMasterStats<L,HS>
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractRunnableMasterStats.StatisticsTask
Task samples various counters of interest and convert them into moving
averages.
|
| Modifier and Type | Field and Description |
|---|---|
AtomicLong |
duplicateCount
The #of duplicates which were filtered out.
|
long |
elapsedHandleChunkNanos
Elapsed nanoseconds in
IndexWriteTask.handleChunk(com.bigdata.btree.keys.KVO[], boolean)
. |
long |
elapsedSplitChunkNanos
Elapsed nanoseconds in
IndexWriteTask.handleChunk(com.bigdata.btree.keys.KVO[], boolean)
required to split a chunk drained from the master. |
AtomicLong |
handledChunkCount
The #of chunks that have passed through
IndexWriteTask.handleChunk(com.bigdata.btree.keys.KVO[], boolean)
. |
protected static double |
scalingFactor
Scaling factor converts nanoseconds to milliseconds.
|
protected AbstractRunnableMasterStats.StatisticsTask |
statisticsTask
Task that will convert sampled data into moving averages.
|
chunksIn, chunksOut, chunksTransferred, elapsedRedirectNanos, elapsedSinkChunkWaitingNanos, elapsedSinkChunkWritingNanos, elapsedSinkOfferNanos, elementsIn, elementsOnSinkQueues, elementsOut, elementsTransferred, masterCreateCount, masters, redirectCount, subtaskEndCount, subtaskIdleTimeoutCount, subtaskStartCount| Constructor and Description |
|---|
AbstractRunnableMasterStats(AbstractFederation<?> fed) |
| Modifier and Type | Method and Description |
|---|---|
CounterSet |
getCounterSet()
Return a
CounterSet which may be used to report the statistics on
the index write operation. |
protected AbstractRunnableMasterStats.StatisticsTask |
newStatisticsTask()
Return the
AbstractRunnableMasterStats.StatisticsTask that will sample various counters of
interest and convert them into moving averages. |
protected HS |
newSubtaskStats(L locator)
Factory for the subtask statistics.
|
String |
toString() |
getActiveSinkCount, getMasterActiveCount, getMaximumPartitionCount, getSubtaskStats, getSubtaskStatspublic final AtomicLong duplicateCount
public final AtomicLong handledChunkCount
IndexWriteTask.handleChunk(com.bigdata.btree.keys.KVO[], boolean)
.public long elapsedSplitChunkNanos
IndexWriteTask.handleChunk(com.bigdata.btree.keys.KVO[], boolean)
required to split a chunk drained from the master.public long elapsedHandleChunkNanos
IndexWriteTask.handleChunk(com.bigdata.btree.keys.KVO[], boolean)
.protected final AbstractRunnableMasterStats.StatisticsTask statisticsTask
protected static final double scalingFactor
public AbstractRunnableMasterStats(AbstractFederation<?> fed)
protected AbstractRunnableMasterStats.StatisticsTask newStatisticsTask()
AbstractRunnableMasterStats.StatisticsTask that will sample various counters of
interest and convert them into moving averages. This be overridden to
extend the sampled counters. However, you MUST also override
getCounterSet() to report any additional data.public CounterSet getCounterSet()
CounterSet which may be used to report the statistics on
the index write operation. The CounterSet is NOT placed into any
namespace.getCounterSet in class AbstractMasterStats<L,HS extends AbstractSubtaskStats>public String toString()
toString in class AbstractMasterStats<L,HS extends AbstractSubtaskStats>protected HS newSubtaskStats(L locator)
AbstractMasterStatsnewSubtaskStats in class AbstractMasterStats<L,HS extends AbstractSubtaskStats>locator - The subtask key.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.