MCPcopy Create free account
hub / github.com/InterviewReady/Low-Level-Design / Update

Class Update

distributed-cache/src/main/java/events/Update.java:5–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import models.Record;
4
5public class Update<K, V> extends Event<K, V> {
6
7 private final Record<K, V> previousValue;
8
9 public Update(Record<K, V> element, Record<K, V> previousValue, long timestamp) {
10 super(element, timestamp);
11 this.previousValue = previousValue;
12 }
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected