Class InMemRecordCache

java.lang.Object
org.eclipse.rdf4j.sail.nativerdf.InMemRecordCache

public class InMemRecordCache extends Object
An simplified implementation of the RecordCache that keeps everything in memory.
  • Field Details

  • Constructor Details

    • InMemRecordCache

      public InMemRecordCache()
  • Method Details

    • setMaxRecords

      public void setMaxRecords(long maxRecords)
    • getRecordCount

      public long getRecordCount()
    • storeRecord

      public void storeRecord(byte[] data)
    • storeRecords

      public void storeRecords(org.eclipse.rdf4j.sail.nativerdf.RecordCache otherCache)
    • clear

      public void clear()
    • getRecords

      public RecordIterator getRecords()
    • isValid

      public boolean isValid()
    • discard

      public void discard()