About cache

111-120 of 200Refresh
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
JDO Doc
3

PersistenceCapable.cacheable

Annotation Element javax.jdo.annotations.PersistenceCapable String cacheable Whether this class is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2
JDO Doc
3

Persistent.cacheable

Annotation Element javax.jdo.annotations.Persistent String cacheable Whether this field/property is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2
JDO Doc
3

pin(oid)

Method javax.jdo.datastore.DataStoreCache void pin(   Object oid ) Pin the parameter instance in the second-level cache. Parameters: oid - the object id of the instance to pin. Since: JDO 2.0