About Cache

81-90 of 200Refresh
JDO Doc
4

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll(   Collection pcs ) Mark a Collection of instances as no longer needed in the cache. Parameters: pcs - the Collection of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
JDO Doc
4

evictAll(pcs)

Method javax.jdo.PersistenceManager void evictAll(   Object... pcs ) Mark an array of instances as no longer needed in the cache. Parameters: pcs - the array of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)
JDO Doc
4

flush()

, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic transaction is active, this method obtains a datastore connection, synchronizes the cache
JDO Doc
4

getDataStoreCache()

Method javax.jdo.PersistenceManagerFactory DataStoreCache getDataStoreCache() Return the DataStoreCache that this factory uses for controlling a second-level cache. If this factory does not use a second-level cache, the returned instance does nothing. This method never returns null. Returns: the DataStoreCache Since: JDO 2.0
JDO Doc
4

hashCode()

Method javax.jdo.identity.SingleFieldIdentity int hashCode() Return the cached hash code. Returns: the cached hash code. Since: JDO 1.0
JDO Doc
4

isLoaded(pc, field)

Method javax.jdo.spi.StateManager boolean isLoaded(   PersistenceCapable pc,   int field ) Return true if the field is cached in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Returns: whether the field is cached in the calling instance Since: JDO 1.0
JDO Doc
4

setIgnoreCache(ignoreCache)

entirely in the back end, instead of in the cache. If this flag is set to true, an implementation might be able to optimize the query execution by ignoring changed values in the cache. For optimistic
JDO Doc
4

javax.jdo.Transaction

control should be used for the current transaction, whether instances may hold values in the cache outside transactions, and whether values should be retained in the cache after transaction completion
JDO Doc
4

javax.jdo.annotations.PersistenceCapable

javax.jdo.annotations Annotation PersistenceCapable Target: Classes Annotation for whether the class or interface is persistence-capable. Since: JDO 2.1 String cacheable Whether this class is cacheable in a Level2 cache. Whether this class is cacheable in a Level2 cache. Default value: "true
JDO Doc
4

javax.jdo.annotations.Persistent

" and "property". Since: JDO 2.1 String cacheable Whether this field/property is cacheable in a Level2 cache. Whether this field/property is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2