public class LazyRefreshingSelfQueue<T>
extends java.lang.Object
Constructor and Description |
---|
LazyRefreshingSelfQueue(Getter<java.lang.Long> updateInterval,
Computable<java.lang.Boolean> shouldUpdateOldChecker,
Consumer<? super T> updater) |
Modifier and Type | Method and Description |
---|---|
void |
addRequest(T t) |
void |
forceRemove(T t) |
void |
updateStep() |
public LazyRefreshingSelfQueue(Getter<java.lang.Long> updateInterval, Computable<java.lang.Boolean> shouldUpdateOldChecker, Consumer<? super T> updater)