|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.persistence.StoreCacheImpl
public class StoreCacheImpl
Implements the L2 cache over the data store via delegation to DataCache.
Field Summary |
---|
Fields inherited from interface org.apache.openjpa.persistence.StoreCache |
---|
NAME_DEFAULT |
Constructor Summary | |
---|---|
StoreCacheImpl(EntityManagerFactoryImpl emf,
DataCache cache)
Constructor; supply delegate. |
Method Summary | |
---|---|
boolean |
contains(Class cls,
Object oid)
Whether the cache contains data for the given oid. |
boolean |
containsAll(Class cls,
Collection oids)
Whether the cache contains data for the given oids. |
boolean |
containsAll(Class cls,
Object... oids)
Whether the cache contains data for the given oids. |
boolean |
equals(Object other)
|
void |
evict(Class cls,
Object oid)
Remove data for the given oid from the cache. |
void |
evictAll()
Clear the cache. |
void |
evictAll(Class cls,
Collection oids)
Remove data for the given oids from the cache. |
void |
evictAll(Class cls,
Object... oids)
Remove data for the given oids from the cache. |
DataCache |
getDelegate()
Delegate. |
int |
hashCode()
|
void |
pin(Class cls,
Object oid)
Pin the data for the given oid to the cache. |
void |
pinAll(Class cls,
Collection oids)
Pin the data for the given oids to the cache. |
void |
pinAll(Class cls,
Object... oids)
Pin the data for the given oids to the cache. |
void |
unpin(Class cls,
Object oid)
Unpin the data for the given oid from the cache. |
void |
unpinAll(Class cls,
Collection oids)
Unpin the data for the given oids from the cache. |
void |
unpinAll(Class cls,
Object... oids)
Unpin the data for the given oids from the cache. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreCacheImpl(EntityManagerFactoryImpl emf, DataCache cache)
Method Detail |
---|
public DataCache getDelegate()
getDelegate
in interface StoreCache
public boolean contains(Class cls, Object oid)
StoreCache
contains
in interface StoreCache
public boolean containsAll(Class cls, Object... oids)
StoreCache
containsAll
in interface StoreCache
public boolean containsAll(Class cls, Collection oids)
StoreCache
containsAll
in interface StoreCache
public void pin(Class cls, Object oid)
StoreCache
pin
in interface StoreCache
public void pinAll(Class cls, Object... oids)
StoreCache
pinAll
in interface StoreCache
public void pinAll(Class cls, Collection oids)
StoreCache
pinAll
in interface StoreCache
public void unpin(Class cls, Object oid)
StoreCache
unpin
in interface StoreCache
public void unpinAll(Class cls, Object... oids)
StoreCache
unpinAll
in interface StoreCache
public void unpinAll(Class cls, Collection oids)
StoreCache
unpinAll
in interface StoreCache
public void evict(Class cls, Object oid)
StoreCache
evict
in interface StoreCache
public void evictAll(Class cls, Object... oids)
StoreCache
evictAll
in interface StoreCache
public void evictAll(Class cls, Collection oids)
StoreCache
evictAll
in interface StoreCache
public void evictAll()
StoreCache
evictAll
in interface StoreCache
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.