public class TermCache<K extends IV<?,?>,V extends BigdataValue> extends Object implements ITermCache<K,V>
Constructor and Description |
---|
TermCache(ConcurrentWeakValueCacheWithBatchedUpdates<IV<?,?>,V> delegate) |
public TermCache(ConcurrentWeakValueCacheWithBatchedUpdates<IV<?,?>,V> delegate)
public int size()
size
in interface ITermCache<K extends IV<?,?>,V extends BigdataValue>
public V get(K k)
get
in interface ITermCache<K extends IV<?,?>,V extends BigdataValue>
public V putIfAbsent(K k, V v)
putIfAbsent
in interface ITermCache<K extends IV<?,?>,V extends BigdataValue>
(Thread-local
cache combined with unbounded thread pools causes effective memory
leak)
public void clear()
clear
in interface ITermCache<K extends IV<?,?>,V extends BigdataValue>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.