public class BatchablePipe<K,V>
extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BatchablePipe.IncreasableEntryWrapper<K,V> |
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<K,BatchablePipe.IncreasableEntryWrapper<K,V>> |
concurrentMap |
protected Queue<IncreasableEntry<K,V>> |
queue |
| Constructor and Description |
|---|
BatchablePipe() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
put(IncreasableEntry<K,V> increasableEntry) |
IncreasableEntry<K,V> |
take() |
protected final ConcurrentMap<K,BatchablePipe.IncreasableEntryWrapper<K,V>> concurrentMap
protected final Queue<IncreasableEntry<K,V>> queue
public boolean put(IncreasableEntry<K,V> increasableEntry)
public IncreasableEntry<K,V> take()