About cache

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

pinAll(oids)

Method javax.jdo.datastore.DataStoreCache void pinAll(   Collection oids ) Pin the parameter instances in the second-level cache. Parameters: oids - the object ids of the instances to pin. Since: JDO 2.0
JDO Doc
3

pinAll(oids)

Method javax.jdo.datastore.DataStoreCache void pinAll(   Object... oids ) Pin the parameter instances in the second-level cache. Parameters: oids - the object ids of the instances to pin. Since: JDO 2.0
JDO Doc
3

pinAll(pcClass, subclasses)

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

pinAll(subclasses, pcClass)

Method javax.jdo.datastore.DataStoreCache void pinAll(   boolean subclasses,   Class pcClass ) Pin instances in the second-level cache. Parameters: subclasses - if true, pin instances of subclasses also pcClass - the class of instances to pin Since: JDO 2.1
JDO Doc
3

postAttach(event)

Method javax.jdo.listener.AttachLifecycleListener void postAttach(   InstanceLifecycleEvent event ) This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the corresponding persistent instance in the cache