Class BinSearchLevelCache
java.lang.Object
org.aksw.commons.io.hadoop.binseach.v2.BinSearchLevelCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.aksw.commons.io.hadoop.binseach.v2.BinSearchCacheprotected org.aksw.commons.io.hadoop.binseach.v2.BinSearchCacheprotected intThe level at which to switch to a fluid (=evicting) cache. -
Constructor Summary
ConstructorsConstructorDescriptionBinSearchLevelCache(int fluidLevel, org.aksw.commons.io.hadoop.binseach.v2.BinSearchCache fixedCache, org.aksw.commons.io.hadoop.binseach.v2.BinSearchCache flowCache) -
Method Summary
Modifier and TypeMethodDescriptionstatic BinSearchLevelCachedftCache()longgetDisposition(long position) getHeader(long position) static BinSearchLevelCachenoCache()voidsetDisposition(int depth, long from, long to) voidsetHeader(int depth, HeaderRecord headerRecord)
-
Field Details
-
fluidLevel
protected int fluidLevelThe level at which to switch to a fluid (=evicting) cache. The top levels may use a fixed cache which does not do eviction. -
fixedCache
protected org.aksw.commons.io.hadoop.binseach.v2.BinSearchCache fixedCache -
fluidCache
protected org.aksw.commons.io.hadoop.binseach.v2.BinSearchCache fluidCache
-
-
Constructor Details
-
BinSearchLevelCache
public BinSearchLevelCache() -
BinSearchLevelCache
public BinSearchLevelCache(int fluidLevel, org.aksw.commons.io.hadoop.binseach.v2.BinSearchCache fixedCache, org.aksw.commons.io.hadoop.binseach.v2.BinSearchCache flowCache)
-
-
Method Details
-
getHeader
-
setHeader
-
getDisposition
public long getDisposition(long position) -
setDisposition
public void setDisposition(int depth, long from, long to) -
noCache
-
dftCache
-