|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.persistence.QueryResultCacheImpl
public class QueryResultCacheImpl
Implements Query result cache via delegation to QueryCache.
Constructor Summary | |
---|---|
QueryResultCacheImpl(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. |
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 QueryResultCacheImpl(QueryCache cache)
Method Detail |
---|
public QueryCache getDelegate()
getDelegate
in interface QueryResultCache
public void pin(Query q)
QueryResultCache
pin
in interface QueryResultCache
public void unpin(Query q)
QueryResultCache
unpin
in interface QueryResultCache
public void evict(Query q)
QueryResultCache
evict
in interface QueryResultCache
public void evictAll()
QueryResultCache
evictAll
in interface QueryResultCache
public void evictAll(Class cls)
QueryResultCache
evictAll
in interface QueryResultCache
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.