public class Chunk
extends java.lang.Object
Constructor and Description |
---|
Chunk(Category category,
boolean replace) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get(Key entry) |
Category |
getCategory() |
boolean |
getReplace() |
void |
put(Key entry,
java.lang.String value) |
public Chunk(Category category, boolean replace)
timestamp
- The time that should be associated with the data in this nugget.category
- The Category
of this data. This should be a Category that the Backend
who is producing this Chunk has registered via Storage#registerCategory()
add
- whether this chunk should replace the values based on the keys for this category,
or be added to a set of values in this category