| 104 | } |
| 105 | |
| 106 | private static <T> void recordSet(Box b, Dict.Prop<T> what, Box box, T r, T previously) { |
| 107 | |
| 108 | IdempotencyMap<BiConsumer<Box, Object>> watch = what.getAttribute(Missing.watch); |
| 109 | if (watch != null) { |
| 110 | watch.values().forEach(x -> x.accept(box, previously)); |
| 111 | } |
| 112 | |
| 113 | if (suspended) return; |
| 114 | synchronized (log) { |
| 115 | log.add(new Log(write, b, what, box, r, previously)); |
| 116 | trim1(); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | private static <T> void recordDelete(Box from, Dict.Prop<T> what, Box target, T val) { |
| 121 | if (suspended) return; |