org.semanticweb.HermiT.blocking
Class BlockingCache
java.lang.Object
org.semanticweb.HermiT.blocking.BlockingCache
- All Implemented Interfaces:
- java.io.Serializable
class BlockingCache
- extends java.lang.Object
- implements java.io.Serializable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
m_directBlockingChecker
protected final DirectBlockingChecker m_directBlockingChecker
m_buckets
protected BlockingCache.CacheEntry[] m_buckets
m_numberOfElements
protected int m_numberOfElements
m_threshold
protected int m_threshold
m_emptyEntries
protected BlockingCache.CacheEntry m_emptyEntries
BlockingCache
public BlockingCache(DirectBlockingChecker directBlockingChecker)
isEmpty
public boolean isEmpty()
clear
public void clear()
removeCacheEntry
public void removeCacheEntry(BlockingCache.CacheEntry removeEntry)
addNode
public BlockingCache.CacheEntry addNode(Node node)
resize
protected void resize(int newCapacity)
getBlocker
public Node getBlocker(Node node)
getIndexFor
protected static int getIndexFor(int hashCode,
int tableLength)