Home » Search

About cache

121-130 of 200Refresh
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
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" />
Issue
2

Large query parameter - out of memory

internally. I've tried reducing the query-cache programs setting but this made no difference (I'm not ... behind the test is to create a data cache to prevent the need for large data to be held in memory. The data ... the cache. Your test demonstrates a failure of ObjectDB in evaluating cached query result size
Forum
2

What algorithm in find()

() seems helpful in reducing the cost. If the cache works, then the more managed entities the better, aren't they? If the managed entities are cleared, then the cache looks useless, right? How do I keep a defined size cache, say 512MB, for frequent visiting entities to avoid the latency time in TCP/IP? TIA