|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kodo.persistence.StoreCache
public class StoreCache
Represents the L2 cache over the data store.
Field Summary | |
---|---|
static String |
NAME_DEFAULT
|
Constructor Summary | |
---|---|
StoreCache(kodo.persistence.EntityManagerFactoryImpl emf,
kodo.datacache.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. |
kodo.datacache.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 |
Field Detail |
---|
public static final String NAME_DEFAULT
Constructor Detail |
---|
public StoreCache(kodo.persistence.EntityManagerFactoryImpl emf, kodo.datacache.DataCache cache)
Method Detail |
---|
public kodo.datacache.DataCache getDelegate()
public boolean contains(Class cls, Object oid)
public boolean containsAll(Class cls, Object... oids)
public boolean containsAll(Class cls, Collection oids)
public void pin(Class cls, Object oid)
public void pinAll(Class cls, Object... oids)
public void pinAll(Class cls, Collection oids)
public void unpin(Class cls, Object oid)
public void unpinAll(Class cls, Object... oids)
public void unpinAll(Class cls, Collection oids)
public void evict(Class cls, Object oid)
public void evictAll(Class cls, Object... oids)
public void evictAll(Class cls, Collection oids)
public void evictAll()
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
Kodo 4.0.0 generated on May 15 2006 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |