Package stroom.mapreduce.v2
Class BlockingPairQueue<K,V>
- java.lang.Object
-
- stroom.mapreduce.v2.BlockingPairQueue<K,V>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<Pair<K,V>>,OutputCollector<K,V>,PairQueue<K,V>,Source<K,V>
public class BlockingPairQueue<K,V> extends java.lang.Object implements PairQueue<K,V>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlockingPairQueue(int capacity)
-
-
-
Method Detail
-
collect
public void collect(K key, V value)
- Specified by:
collectin interfaceOutputCollector<K,V>
-
iterator
public java.util.Iterator<Pair<K,V>> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<K>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-