Class SnapshotKeyReader

java.lang.Object
io.datarouter.filesystem.snapshot.reader.SnapshotKeyReader

public class SnapshotKeyReader
extends java.lang.Object
Not thread-safe because of LatestBlockCache
  • Constructor Summary

    Constructors 
    Constructor Description
    SnapshotKeyReader​(SnapshotKey snapshotKey, BlockLoader blockLoader)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<SnapshotRecord> findRecord​(byte[] searchKey)  
    java.util.Optional<java.lang.Long> findRecordId​(byte[] searchKey)  
    LeafBlock leafBlock​(byte[] searchKey)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait