|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kodo.persistence.QueryResultCache
public class QueryResultCache
Query result cache.
Constructor Summary | |
---|---|
QueryResultCache(kodo.datacache.QueryCache cache)
Constructor; supply delegate. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
void |
evict(Query q)
Evict a query result from the cache. |
void |
evictAll()
Clear the cache. |
void |
evictAll(Class cls)
Evict all result for queries involving the given class. |
kodo.datacache.QueryCache |
getDelegate()
Delegate. |
int |
hashCode()
|
void |
pin(Query q)
Pin the given query's result to the cache. |
void |
unpin(Query q)
Unpin a previously-pinned query result. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryResultCache(kodo.datacache.QueryCache cache)
Method Detail |
---|
public kodo.datacache.QueryCache getDelegate()
public void pin(Query q)
public void unpin(Query q)
public void evict(Query q)
public void evictAll()
public void evictAll(Class cls)
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |