public class DiskHashWriter
extends Object
DiskHashReader
.Modifier and Type | Field and Description |
---|---|
private HashMap |
memMap
Keeps track of entries in memory until we're ready to write to disk
|
static Tester |
tester |
Constructor and Description |
---|
DiskHashWriter() |
Modifier and Type | Method and Description |
---|---|
void |
outputTo(SubStoreWriter out)
Writes out the entire hash
|
void |
put(String key,
PackedByteBuf val)
Add a new key/value pair to the hash.
|
private HashMap memMap
public static final Tester tester
public void put(String key, PackedByteBuf val)
public void outputTo(SubStoreWriter out) throws IOException
IOException