public interface OperationStatsCollector
Modifier and Type | Field and Description |
---|---|
static OperationStatsCollector |
NOOP |
Modifier and Type | Method and Description |
---|---|
void |
finishFailure()
Increment the finishFailure counter
|
void |
start()
Increment the start counter
|
void |
updateDuration(long time,
java.util.concurrent.TimeUnit timeUnit)
Increment the duration timer
|
void |
updateMarkDuration(long time,
java.util.concurrent.TimeUnit timeUnit)
Increment the mark phase duration timer
|
void |
updateNumCandidates(long num)
Update the number of candidates found
|
void |
updateNumDeleted(long num)
Update the number deleted
|
void |
updateSweepDuration(long time,
java.util.concurrent.TimeUnit timeUnit)
Increment the sweep phase duration timer
|
void |
updateTotalSizeDeleted(long size)
Update the size deleted
|
static final OperationStatsCollector NOOP
void start()
void finishFailure()
void updateNumDeleted(long num)
num
- void updateNumCandidates(long num)
num
- void updateTotalSizeDeleted(long size)
size
- void updateDuration(long time, java.util.concurrent.TimeUnit timeUnit)
time
- time recorded for the operationtimeUnit
- unit of timevoid updateMarkDuration(long time, java.util.concurrent.TimeUnit timeUnit)
time
- time recorded for the operationtimeUnit
- unit of timevoid updateSweepDuration(long time, java.util.concurrent.TimeUnit timeUnit)
time
- time recorded for the operationtimeUnit
- unit of timeCopyright © 2010 - 2020 Adobe. All Rights Reserved