| 
Kodo 4.2.0. generated on July 28 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkodo.jdo.QueryResultCache
public class QueryResultCache
Query result cache implementation for JDO.
| Constructor Summary | |
|---|---|
QueryResultCache(QueryCache cache)
Constructor; supply delegate.  | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(Object other)
 | 
 void | 
evict(Query q)
Evict a query result from the cache.  | 
 void | 
evict(Query q,
      Map params)
Evict a query result from the cache.  | 
 void | 
evict(Query q,
      Object[] params)
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.  | 
 QueryCache | 
getDelegate()
Delegate.  | 
 int | 
hashCode()
 | 
 void | 
pin(Query q)
Pin the given query's result to the cache.  | 
 void | 
pin(Query q,
    Map params)
Pin the given query's result to the cache.  | 
 void | 
pin(Query q,
    Object[] params)
Pin the given query's result to the cache.  | 
 void | 
unpin(Query q)
Unpin a previously-pinned query result.  | 
 void | 
unpin(Query q,
      Map params)
Unpin a previously-pinned query result.  | 
 void | 
unpin(Query q,
      Object[] params)
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(QueryCache cache)
| Method Detail | 
|---|
public QueryCache getDelegate()
public void pin(Query q)
public void pin(Query q,
                Object[] params)
public void pin(Query q,
                Map params)
public void unpin(Query q)
public void unpin(Query q,
                  Object[] params)
public void unpin(Query q,
                  Map params)
public void evict(Query q)
public void evict(Query q,
                  Object[] params)
public void evict(Query q,
                  Map params)
public void evictAll()
public void evictAll(Class cls)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
  | 
Kodo 4.2.0. generated on July 28 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||