Kodo 4.2.0. (DEPRECATED)

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. (DEPRECATED)

Copyright 2011 Oracle, Inc. All Rights Reserved.

This documentation is deprecated and will be removed in the next release of WebLogic Server.


Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-02