iamaleksey commented on code in PR #2982:
URL: https://github.com/apache/cassandra/pull/2982#discussion_r1444943385
##########
src/java/org/apache/cassandra/journal/Journal.java:
##########
@@ -194,6 +195,34 @@ public boolean awaitTermination(long timeout, TimeUnit
units) throws Interrupted
return false;
}
+ /**
+ * Read an entry by its address (segment timestamp + offest)
+ *
+ * @return deserialized record if present, null otherwise
+ */
+ public V read(long segmentTimestamp, int offset)
Review Comment:
This one is for reading the entry by `Pointer` if it isn't in the cache.
Right now unused because message objects are never evicted in this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]