static class UnitTestSetup.ObservableUpdater extends MetricUpdater
Modifier and Type | Field and Description |
---|---|
(package private) CountDownLatch |
gotData |
private boolean |
hasBeenAccessed |
Constructor and Description |
---|
ObservableUpdater() |
Modifier and Type | Method and Description |
---|---|
Bucket |
createGenerationInstance(Bucket previous) |
Bucket |
update(Bucket current,
Sample x) |
CountDownLatch gotData
private volatile boolean hasBeenAccessed
public Bucket createGenerationInstance(Bucket previous)
createGenerationInstance
in interface com.yahoo.concurrent.ThreadLocalDirectory.Updater<Bucket,Sample>
createGenerationInstance
in class MetricUpdater
Copyright © 2018. All rights reserved.