Home » Search

About cache

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