public class DCDStreamingCacheIterator extends StreamingCacheIterator<DCDObjectiveTerm>
closed, currentPage, nextCachedTermIndex, nextTerm, numPages, pageAccessOrder, parentStore, readonly, shuffleMap, shufflePage, termBuffer, termCache, termPool, volatileBuffer
Constructor and Description |
---|
DCDStreamingCacheIterator(DCDStreamingTermStore parentStore,
boolean readonly,
List<DCDObjectiveTerm> termCache,
List<DCDObjectiveTerm> termPool,
ByteBuffer termBuffer,
ByteBuffer volatileBuffer,
boolean shufflePage,
int[] shuffleMap,
boolean randomizePageAccess,
int numPages) |
Modifier and Type | Method and Description |
---|---|
protected void |
readPage(String termPagePath,
String volatilePagePath)
Read a page and fill the termCache using freed terms from the termPool.
|
protected void |
writeVolatilePage(String volatilePagePath)
Write a cache page to disk.
|
close, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public DCDStreamingCacheIterator(DCDStreamingTermStore parentStore, boolean readonly, List<DCDObjectiveTerm> termCache, List<DCDObjectiveTerm> termPool, ByteBuffer termBuffer, ByteBuffer volatileBuffer, boolean shufflePage, int[] shuffleMap, boolean randomizePageAccess, int numPages)
protected void readPage(String termPagePath, String volatilePagePath)
StreamingCacheIterator
readPage
in class StreamingCacheIterator<DCDObjectiveTerm>
protected void writeVolatilePage(String volatilePagePath)
StreamingCacheIterator
writeVolatilePage
in class StreamingCacheIterator<DCDObjectiveTerm>
Copyright © 2020 University of California, Santa Cruz. All rights reserved.