public static void readVersionsFromResponse(Response r, CacheTransaction ct) {
if (r != null && r.isSuccessful()) {
SuccessfulResponse sr = (SuccessfulResponse) r;
EntryVersionsMap uv = (EntryVersionsMap) sr.getResponseValue();
if (uv != null) ct.setUpdatedEntryVersions(uv.merge(ct.getUpdatedEntryVersions()));
}
}
public static EntryVersionsMap performWriteSkewCheckAndReturnNewVersions(VersionedPrepareCommand prepareCommand,
DataContainer dataContainer,