Home » Search

About evict

11-20 of 30Refresh
JDO Doc
11

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
9

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
9

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
9

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
9

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
9

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
9

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
9

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
9

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
Issue
8

Best practise loading big data

(); //            } //        } //         // Solution #3: Use JDO's evict ... ();             }             pm.evict(sb);         }                  long elapsedTime ... values read in 1285ms, heap size: 30928312 Solution 3 is more elegant. It uses the evict operation