public static class IfInstantiationCachePool.IfInstantiationCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.Long,ImmutableList<IfFormulaInstantiation>> |
antecCache |
private java.util.concurrent.locks.ReentrantReadWriteLock |
lock |
private java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock |
readLock |
private java.util.HashMap<java.lang.Long,ImmutableList<IfFormulaInstantiation>> |
succCache |
private java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock |
writeLock |
Constructor and Description |
---|
IfInstantiationCache() |
Modifier and Type | Method and Description |
---|---|
ImmutableList<IfFormulaInstantiation> |
get(boolean antec,
java.lang.Long key) |
void |
put(boolean antec,
java.lang.Long key,
ImmutableList<IfFormulaInstantiation> value) |
private void |
reset() |
private final java.util.HashMap<java.lang.Long,ImmutableList<IfFormulaInstantiation>> antecCache
private final java.util.HashMap<java.lang.Long,ImmutableList<IfFormulaInstantiation>> succCache
private final java.util.concurrent.locks.ReentrantReadWriteLock lock
private final java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock readLock
private final java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock writeLock
public ImmutableList<IfFormulaInstantiation> get(boolean antec, java.lang.Long key)
public void put(boolean antec, java.lang.Long key, ImmutableList<IfFormulaInstantiation> value)
private void reset()