Home » Search

About Cache

101-110 of 200Refresh
JDO Doc
3

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
3

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
3

evictAll(pcClass, subclasses)

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

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
3

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
3

getIgnoreCache()

Method javax.jdo.PersistenceManager boolean getIgnoreCache() Get the ignoreCache setting 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. Returns: the ignoreCache setting. Since: JDO 1.0
JDO Doc
3

javax.jdo.annotations.Cacheable

javax.jdo.annotations Annotation Cacheable Target: Classes and fields (including property get methods) Annotation to specify that this class/field/property is cacheable in a Level 2 cache. This corresponds to the xml attribute "cacheable" of the "class", "field" and "property" elements. Since: JDO
JDO Doc
3

javax.jdo.listener.AttachLifecycleListener

is the corresponding persistent instance in the cache; the target instance is the detached instance
JDO Doc
3

makePersistent(pc)

Method javax.jdo.PersistenceManager T makePersistent(   T pc ) Make the parameter instance persistent in this PersistenceManager. This method makes transient instances persistent and applies detached instance changes to the cache. It must be called in the context of an active transaction, or
JDO Doc
3

makeTransactional(pc)

state. At transaction commit, the state of the instance in the cache is compared to the state