About cache

121-130 of 200Refresh
JDO Doc
3

refresh(pc)

Method javax.jdo.PersistenceManager void refresh(   Object pc ) Refresh the state of the instance from the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data
JDO Doc
3

setIgnoreCache(flag)

Method javax.jdo.PersistenceManager void setIgnoreCache(   boolean flag ) Set the ignoreCache parameter for queries. IgnoreCache set to true specifies that for all Query instances created by this PersistenceManager, the default is the cache should be ignored for queries. Parameters: flag - the ignoreCache setting. Since: JDO 1.0
JDO Doc
3

unpin(oid)

Method javax.jdo.datastore.DataStoreCache void unpin(   Object oid ) Unpin the parameter instance from the second-level cache. Parameters: oid - the object id of the instance to unpin. Since: JDO 2.0
JDO Doc
3

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
3

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
JDO Doc
3

unpinAll(pcClass, subclasses)

Method javax.jdo.datastore.DataStoreCache void unpinAll(   Class pcClass,   boolean subclasses ) Unpin instances from the second-level cache. Parameters: pcClass - the class of instances to unpin subclasses - if true, unpin instances of subclasses also Since: JDO 2.0
JDO Doc
3

unpinAll(subclasses, pcClass)

Method javax.jdo.datastore.DataStoreCache void unpinAll(   boolean subclasses,   Class pcClass ) Unpin instances from the second-level cache. Parameters: subclasses - if true, unpin instances of subclasses also pcClass - the class of instances to unpin Since: JDO 2.1
Issue
3

each 1-2 days objects on some objectdb level lock/block each other

thread dump shows a page cache lock (0x00000000b6681e10) by one thread. The second thread dump ... -check="true" /> cache="4096mb" max-threads="80" /> cache results="1024mb" programs="500
Forum
3

500Mb ObjectDb database opening issue

500Mb ObjectDb database opening issue
Forum
3

Occasionally slow requests in load testing

="." mode="write" /> cache="8mb" max-threads="400" /> cache results="8mb" programs="500" /> <cache ref="weak" level2="0" />