+
+ @GetMapping("state")
+ public Map<Integer, Map<String, Long>> state()
+ {
+ return
+ adderRecordHandler
+ .getState()
+ .entrySet()
+ .stream()
+ .collect(Collectors.toMap(
+ entry -> entry.getKey(),
+ entry -> entry.getValue().getState()));
+ }
+
+ @GetMapping("state/{user}")
+ public ResponseEntity<Long> seen(@PathVariable String user)