Kodo 4.2.0. generated on July 28 2008

kodo.jdo
Class QueryResultCache

java.lang.Object
  extended by kodo.jdo.QueryResultCache

public class QueryResultCache
extends Object

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

QueryResultCache

public QueryResultCache(QueryCache cache)
Constructor; supply delegate.

Method Detail

getDelegate

public QueryCache getDelegate()
Delegate.


pin

public void pin(Query q)
Pin the given query's result to the cache.


pin

public void pin(Query q,
                Object[] params)
Pin the given query's result to the cache.


pin

public void pin(Query q,
                Map params)
Pin the given query's result to the cache.


unpin

public void unpin(Query q)
Unpin a previously-pinned query result.


unpin

public void unpin(Query q,
                  Object[] params)
Unpin a previously-pinned query result.


unpin

public void unpin(Query q,
                  Map params)
Unpin a previously-pinned query result.


evict

public void evict(Query q)
Evict a query result from the cache.


evict

public void evict(Query q,
                  Object[] params)
Evict a query result from the cache.


evict

public void evict(Query q,
                  Map params)
Evict a query result from the cache.


evictAll

public void evictAll()
Clear the cache.


evictAll

public void evictAll(Class cls)
Evict all result for queries involving the given class.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

Kodo 4.2.0. generated on July 28 2008

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.