public class InMemoryImpressionsStorage extends Object implements ImpressionsStorage
| Constructor and Description |
|---|
InMemoryImpressionsStorage(int queueSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFull() |
List<KeyImpression> |
pop() |
List<KeyImpression> |
pop(int count) |
long |
put(List<KeyImpression> imps) |
public List<KeyImpression> pop(int count)
pop in interface ImpressionsStorageConsumerpublic List<KeyImpression> pop()
pop in interface ImpressionsStorageConsumerpublic boolean isFull()
isFull in interface ImpressionsStorageConsumerpublic long put(List<KeyImpression> imps)
put in interface ImpressionsStorageProducerCopyright © 2022. All rights reserved.