public String id;
public long offset = -1l;
public Map<String, Long> state;
- public Map<String, List<Long>> seen;
public StateDocument()
{
{
this.id = Integer.toString(partition);
this.state = new HashMap<>();
- this.seen = new HashMap<>();
}
public StateDocument(
Integer partition,
Map<String, Long> state,
- Map<String, List<Long>> seen)
+ long offset)
{
this.id = Integer.toString(partition);
this.state = state;
- this.seen = seen;
+ this.offset = offset;
}
}