Home » Search

About evict

21-30 of 30Refresh
JDO Doc
6

evictAll(subclasses, pcClass)

Method javax.jdo.PersistenceManager void evictAll(   boolean subclasses,   Class pcClass ) Mark the parameter instances as no longer needed in the cache. Parameters: subclasses - if true, mark instances of subclasses also pcClass - the class of instances to evict Since: JDO 2.1
JDO Doc
6

javax.jdo.listener.ClearLifecycleListener

. This happens during an application call to evict, and in afterCompletion for commit with RetainValues false
JDO Doc
6

preClear(event)

during an application call to evict, and in afterCompletion for commit with RetainValues false and rollback
JDO Doc
6

unpinAll(oids)

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

unpinAll(oids)

Method javax.jdo.datastore.DataStoreCache void unpinAll(   Object... oids ) Unpin the parameter instance from the second-level cache. Parameters: oids - the object id of the instance to evict. Since: JDO 2.0
Issue
6

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
Forum
5

Soft Reference Object Cache Recommendation

of the byte[] until the JdoBlob2 object that owns it is evicted from the ObjectDB cache, such as ... a full JVM GC, manually evict JdoBlob2s from their relevant PersistenceManager (via persistenceManager.evict(jdoBlob2)).  I would have to maintain the list with a LRU ordering to rid the cache of older
Forum
3

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

mode="NON_XA"/>                     <eviction strategy="LRU" max-entries="10000 ... name="local-query">                                         <eviction ... ">                                         <eviction strategy="NONE"/>                
Forum
2

OptimisticLockException

any object before I modify it??   You can disable the L2 cache (or empty it with evict) and empty
Result
0

[ODB1] Chapter 6 - Persistent Objects

this guide, because in most applications they are rarely used. Among them: evict(...) and evictAll