|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<Key,Value>
org.apache.accumulo.examples.wikisearch.ingest.LRUOutputCombiner<Key,Value>
public class LRUOutputCombiner<Key,Value>
Nested Class Summary | |
---|---|
static class |
LRUOutputCombiner.Fold<Value>
|
static class |
LRUOutputCombiner.Output<Key,Value>
|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary | |
---|---|
LRUOutputCombiner(int capacity,
LRUOutputCombiner.Fold<Value> fold,
LRUOutputCombiner.Output<Key,Value> output)
|
Method Summary | |
---|---|
void |
flush()
|
Value |
put(Key key,
Value value)
|
protected boolean |
removeEldestEntry(Map.Entry<Key,Value> eldest)
|
Methods inherited from class java.util.LinkedHashMap |
---|
clear, containsValue, get |
Methods inherited from class java.util.HashMap |
---|
clone, containsKey, entrySet, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsKey, entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values |
Constructor Detail |
---|
public LRUOutputCombiner(int capacity, LRUOutputCombiner.Fold<Value> fold, LRUOutputCombiner.Output<Key,Value> output)
Method Detail |
---|
protected boolean removeEldestEntry(Map.Entry<Key,Value> eldest)
removeEldestEntry
in class LinkedHashMap<Key,Value>
public Value put(Key key, Value value)
put
in interface Map<Key,Value>
put
in class HashMap<Key,Value>
public void flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |