Map<Integer, UpdateStamp> slotUpdates = new HashMap<Integer, UpdateStamp>();
updates.put(Granularity.MIN_5, slotUpdates);
long time = 1234;
slotUpdates.put(slot, new UpdateStamp(time++, UpdateStamp.State.Active, true));
writer.persistShardState(shard, updates);
slotUpdates.put(slot, new UpdateStamp(time++, UpdateStamp.State.Rolled, true));
writer.persistShardState(shard, updates);
AstyanaxReader reader = AstyanaxReader.getInstance();