|
Protege 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.util.transaction.LosslessCacheImpl
public class LosslessCacheImpl
Constructor Summary | |
---|---|
LosslessCacheImpl()
|
Method Summary | |
---|---|
boolean |
isCached(Object var)
determines if the variable var is cached in the global cache. |
Object |
readCache(Object var)
If the variable var is cached then this returns the cached value. |
void |
removeCacheEntry(Object var)
Invalidates the global cache for the variable var. |
void |
writeCache(Object var,
Object result)
Writes the value result to the global cache for the variable var. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LosslessCacheImpl()
Method Detail |
---|
public boolean isCached(Object var)
Cache
isCached
in interface Cache
var
- a variable
public Object readCache(Object var)
Cache
readCache
in interface Cache
var
- a variable
public void writeCache(Object var, Object result)
Cache
writeCache
in interface Cache
var
- a variableresult
- the cached value for the variable.public void removeCacheEntry(Object var)
Cache
removeCacheEntry
in interface Cache
var
- a variable
|
Protege 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |