Home » Search

About evict

11-20 of 29Refresh
JDO Doc
12

evictAll(subclasses, pcClass)

Method javax.jdo.datastore.DataStoreCache void evictAll(   boolean subclasses,   Class pcClass ) Evict the parameter instances from the second-level cache. Parameters: subclasses - if true, evict instances of subclasses also pcClass - the class of instances to evict Since: JDO 2.1
JDO Doc
10

evictAll()

Method javax.jdo.datastore.DataStoreCache void evictAll() Evict the parameter instances from the second-level cache. All instances in the PersistenceManager's cache are evicted from the second-level cache. Since: JDO 2.0
JDO Doc
10

evictAll()

Method javax.jdo.PersistenceManager void evictAll() Mark all persistent-nontransactional instances as no longer needed in the cache. It transitions all persistent-nontransactional instances to hollow. Transactional instances are subject to eviction based on the RetainValues setting. Since: JDO 1.0 See Also: evict(Object pc)
JDO Doc
10

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache void evictAll(   Collection oids ) Evict the parameter instances from the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0
JDO Doc
10

evictAll(oids)

Method javax.jdo.datastore.DataStoreCache void evictAll(   Object... oids ) Evict the parameter instances from the second-level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0
JDO Doc
10

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll(   Collection pcs ) Mark a Collection of instances as no longer needed in the cache. Parameters: pcs - the Collection of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
JDO Doc
10

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll(   Object... pcs ) Mark an array of instances as no longer needed in the cache. Parameters: pcs - the array of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
JPA Doc
10

javax.persistence.Cache

Returns: boolean indicating whether the entity is in the cache Since: JPA 2.0 void evict(Class cls ... class Since: JPA 2.0 void evict(Class cls, Object primaryKey) Remove the data for the given entity
JDO Doc
10

makeNontransactional(pc)

Method javax.jdo.PersistenceManager void makeNontransactional(   Object pc ) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not being evicted from the cache
Forum
7

evictAll() behavior

the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction ... .getManagedObjects().size()); pm.evictAll(); System.out.println("Cache size after pm.evict = " + pm.getManagedObjects().size()); and it seems that objects are not evicted, the number of managed objects