Interface ReqDebug
public interface ReqDebug
The signaling interface that allows comprehensive analysis of the ReqSketch and ReqCompactor
while eliminating code clutter in the main classes. The implementation of this interface can be
found in the test tree.
- Author:
- Lee Rhodes
-
Method Summary
Modifier and TypeMethodDescriptionvoidemitAdjSecSizeNumSec(byte lgWeight) Emit adjusting section size and number of sections.voidEmit all horizontal listsvoidemitCompactingStart(byte lgWeight) Emit Compaction Start.voidemitCompactionDetail(int compactionStart, int compactionEnd, int secsToCompact, int promoteLen, boolean coin) Emit Compaction details.voidemitCompactionDone(byte lgWeight) Emit compaction done and number of compactions so far.voidEmit compress done.voidEmit Must add compactorvoidemitNewCompactor(byte lgWeight) Emit new compactor configurationvoidEmit the start signalvoidEmit Start Compress
-
Method Details
-
emitStart
-
emitStartCompress
void emitStartCompress()Emit Start Compress -
emitCompressDone
void emitCompressDone()Emit compress done. -
emitAllHorizList
void emitAllHorizList()Emit all horizontal lists -
emitMustAddCompactor
void emitMustAddCompactor()Emit Must add compactor -
emitCompactingStart
void emitCompactingStart(byte lgWeight) Emit Compaction Start.- Parameters:
lgWeight- compactor lgWeight or height
-
emitNewCompactor
void emitNewCompactor(byte lgWeight) Emit new compactor configuration- Parameters:
lgWeight- the log weight
-
emitAdjSecSizeNumSec
void emitAdjSecSizeNumSec(byte lgWeight) Emit adjusting section size and number of sections.- Parameters:
lgWeight- the log weight
-
emitCompactionDetail
void emitCompactionDetail(int compactionStart, int compactionEnd, int secsToCompact, int promoteLen, boolean coin) Emit Compaction details.- Parameters:
compactionStart- the offset of compaction startcompactionEnd- the offset of compaction endsecsToCompact- the number of sections to compactpromoteLen- the length of the promotion fieldcoin- the state of the random coin.
-
emitCompactionDone
void emitCompactionDone(byte lgWeight) Emit compaction done and number of compactions so far.- Parameters:
lgWeight- the log weight
-